本文整理了Java中javax.swing.JSlider.setBounds()
方法的一些代码示例,展示了JSlider.setBounds()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。JSlider.setBounds()
方法的具体详情如下:
包路径:javax.swing.JSlider
类名称:JSlider
方法名:setBounds
暂无
代码示例来源:origin: stackoverflow.com
slider.setOrientation(SwingConstants.VERTICAL);
slider.setValue(0);
slider.setBounds(131, 60, 53, 136);
contentPane.add(slider);
代码示例来源:origin: stackoverflow.com
x = (getWidth() - size.width) / 2;
y = (getHeight() - size.height) / 2;
slider.setBounds(x, y, size.width, size.height);
代码示例来源:origin: stackoverflow.com
damageEntryLabel.setBounds(160, 200, 200, 25);
moveName.setBounds(160, 155, 175, 25);
moveDamage.setBounds(160, 230, 175, 45);
enterButton.setBounds(225, 290, 60, 50);
代码示例来源:origin: bastienjalbert/topguw
sliderGainKal.setName("gainKal");
sliderGainKal.setMaximum(50);
sliderGainKal.setBounds(263, 22, 271, 33);
sliderGainKal.setMajorTickSpacing(5);
sliderGainKal.setMinorTickSpacing(5);
代码示例来源:origin: org.java.net.substance/substance
brightnessSlider.setBounds(230, 0, 25, 108);
brightnessSlider.setMinimum(0);
brightnessSlider.setMaximum(100);
saturationSlider.setBounds(230, 120, 25, 110);
saturationSlider.setMinimum(0);
saturationSlider.setMaximum(100);
代码示例来源:origin: com.github.insubstantial/substance
brightnessSlider.setBounds(230, 0, 25, 108);
brightnessSlider.setMinimum(0);
brightnessSlider.setMaximum(100);
saturationSlider.setBounds(230, 120, 25, 110);
saturationSlider.setMinimum(0);
saturationSlider.setMaximum(100);
代码示例来源:origin: info.aduna.commons/aduna-commons-graphics
add(colorButton);
add(saveButton);
slider.setBounds(20, 430, 200, 20);
diameterLabel.setBounds(240, 430, 40, 20);
textBox.setBounds(20, 460, 200, 20);
代码示例来源:origin: robward-scisys/sldeditor
slider.setBounds(
xPos + BasePanel.WIDGET_X_START,
0,
代码示例来源:origin: Slowpoke101/FTBLaunch
ramMaximum.setBounds(190, 95, 222, 25);
ramMaximum.setSnapToTicks(true);
ramMaximum.setMajorTickSpacing(256);
代码示例来源:origin: link-intersystems/blog
loadSpeedSlider.setPaintTicks(true);
loadSpeedSlider.setPaintLabels(true);
loadSpeedSlider.setBounds(161, 12, 429, 43);
loadSpeedSlider.setModel(loadPersonsSpeedModel);
add(loadSpeedSlider);
内容来源于网络,如有侵权,请联系作者删除!