Content « Component « Java Swing Q&A





1. Get contents of Java Swing Component    stackoverflow.com

I need to get contents of JPanel component (one of tabs), which a part of JTabbedPane. From class where JTabbedPane is defined there is an event listener which gets current selected ...

3. Can't change the background of my content pane    java-forums.org

Basically, the user chooses 3 values between 0 and 255 with JSliders. I then get the value from those sliders, use a UImanager and set the background color of the content pane to those color when he presses ok ((0,0,0) = black, (255,255,255) = white for example. ) But when he presses ok, nothing happens. so I tried setting the color ...