Swing Section Index | Page 4

The preferred size of a component (which is made up of preferred width and preferred height) is the component's request for the size it would like to appear. Layout managers may use this or may ig...more

You can find out the details in the following articles. I recommend you read all three:
http://java.sun.com/products/jfc/tsc/articles/threads/threads1.html
http://java.sun.com/products/jfc/tsc/ar...more

The easiest way to accomplish this is to use a custom cell renderer that doesn't paint a background.
Search the Swing FAQ for "TableCellRenderer"; there are many FAQs about how to create one. If ...more

W3C is working on an XForms standard (see this description and the 1.0 draft) that allows form validation and can be used for both web based and Swing (or any other client GUI toolkit) form valida...more

The trick is to not override a Swing component's paint() method...
Swing components (which are subclasses of JComponent) have a slightly different paint structure than AWT components. In AWT, you...more

By default, the applet security manager adds this message to any windows so the user will know it came from an applet. If they didn't do this, a nasty programmer could create a window that looks l...more