java-swing

How do you turn on and off a monitor from within a Java application?

How do you turn on and off a monitor from within a Java application? In case you're wondering why, this is a kiosk style application where it would be great to turn off the monitors at night. Yes you can do it within the screensaver settings of the machine, but it would be great to do it programatically and avoid having to configure it ...

How can I let JToolBars wrap to the next line (FlowLayout) without them being hidden ty the JPanel below them?

I am in the process of making a GUI which shows three JToolBars above a big JPanel. These toolbars are collectively very large, so I'm using a FlowLayout to make them wrap to the next line if they reach the JFrame border. The problem is that when they wrap to the next line, they become hidden by the JPanel below.. I wish I could force th...

Worried about learning Java Swing.

I came to know that Java Swing will not be developed further and will be maintained only for backward compatibility [1],[2]. I haven't been able to find any successor to Java Swing (maybe one isn't decided yet). The primary reason for me trying to learn Java Swing is related to getting a job. I have developed J2ME mobile apps, J2EE web...