Graphics « JSlider « Java Swing Q&A





1. Problem with Combining Graphics and JSliders    coderanch.com

I want to draw a diagram in which graphic an JSliders are integrated, in order to select a special y-value to an x-value. Bit this does not work. The JSliders appear everywhere I click and they aren't there they should be. I think the problem is the combined usage of the methode paint() from Graphics and JComponents. But I don't know ...

2. Jslider problem with graphics    forums.oracle.com

So you refactored some code from one class into two (probably a good idea) but you broke the scope of something in the process. Find out what that something is and fix it. This isn't very hard. Look at what the compiler is complaining about and see why it can't call the method in the place that you want to call ...