jslider Questions

3

Solved

Would like to repaint the the marker or the thumb of the JSlider instead of the standard gray. How can I achieve this?
Whorled asked 9/8, 2011 at 7:16

1

Solved

I have made a GUI that uses a slider to scale an object up and down.(in this case a rectangle). I was wondering if there was a way to also use a slider to specify a degree of rotation. So there wou...
Espinosa asked 6/5, 2014 at 23:18

1

Solved

As explained in the title, i made a simple JSlider, and i successfully setted a minimum and maximum value, and a minor tick spacing, then i setted the "setSnapToTicks" to true. No problem with that...
Garrygarson asked 8/3, 2013 at 11:11

1

Solved

I want to use a JSlider to browse some chronological events, so I set a custom LabelTable so that it displays some Dates instead of the default integer values. My code goes like this: JSlider slid...
Bolding asked 11/2, 2013 at 8:37

2

Solved

How can I check if the value of a JSlider or JSpinner was set via the graphical interface and not via the method setValue( int n) ?
Minesweeper asked 14/1, 2013 at 14:12

2

Solved

I'm creating a Swing GUI in Netbeans. The purpose of this GUI is to open an (buffered)image (in a JLabel as icon) and apply Affine transforms on it. Now there are 4 transforms that I'm doing as fol...
Invitatory asked 9/10, 2012 at 19:34

1

Solved

I've been having some problems using the JSlider class - specifically with tick labels. The first time I use setMajorTickSpacing and setMinorTickSpacing everything works as expected. However, subs...
Lagoon asked 24/9, 2012 at 9:59

1

I have gone through this website Change look and feel of JSlider but except for Slider.altTrackColor nothing else is working. I want to do something like shown in pic1 any suggestion would be of gr...
Arbitrage asked 6/9, 2012 at 6:13

2

Solved

Here is a simple graphics programs which adds some stars on the screen. import acm.graphics.*; import acm.program.*; import java.awt.event.*; import javax.swing.*; /** * This program creates a f...
Chader asked 26/8, 2012 at 13:1

3

Solved

I'm a bit surprised no one has asked about this specific case, cause it's kind of a weird inconsistency in the java standard libraries: I'm using swing JSliders with custom labels; the only librar...
Maintop asked 17/7, 2012 at 20:49

1

Solved

I m making App in netbeans platform using java swing Technology.I want to do image processing oncaptured image.This image is capture by X-Ray Gun.after that i want to increase/decrease brightness o...
Sudden asked 18/4, 2012 at 11:19

2

Solved

I have a little problem with my JSlider, that I haven't been able to solve. To explain the situation a little, I have to do a JSlider going from 0 to 20, through 0.1 steps. I tricked my way out of ...
Alright asked 16/12, 2010 at 12:41

2

How can the size of the thumb be configured for a JSlider? With the defaults, and a range for the JSlider of 256, the thumb is only a few pixels wide, which makes it quite difficult to control wit...
Lobby asked 22/8, 2011 at 13:59

2

I have been using the above MetalSliderUI solution for all my JSliders. Windows users have been happy with it. I appreciate finding this solution on stackoverflow.com The solution was discussed her...
Algiers asked 4/6, 2011 at 13:28

3

Solved

I want to create a bar with a value. If i move the circle, then the value in the field should change. How can i do this? Here is the screen shot. How can i achieve this? Something similar to this ...
Peppery asked 20/5, 2011 at 5:43

2

Solved

I am making a GUI (using swing) for a poker framework and need some sort of slider to allow players to select a bet size. However the Swing JSlider only works with int values whereas I need somethi...
Ochone asked 31/1, 2010 at 17:21

1

Solved

what is the best and easiest way to link a JSlider and a JTextField so that if one changes, the other gets updated too, but there is no recursive loop? thanks!
Saraisaraiya asked 10/10, 2009 at 17:52

3

I needed a slider with two knobs on it (representing a range) and I found this nifty one here. However, they created their own U.I. which extends Java's BasicSliderUI. They override the paint metho...
Professed asked 16/7, 2009 at 21:5

3

Solved

Whenever I click a JSlider it gets positioned one majorTick in the direction of the click instead of jumping to the spot I actually click. (If slider is at point 47 and I click 5 it'll jump to 37 i...
Echinoid asked 5/2, 2009 at 23:30
1

© 2022 - 2024 — McMap. All rights reserved.