Is there Anyone who can recommend a good visual tool for designing JTABELS ( and other Swing Components) ? I'm looking for a tool where i can define columns property, such as column-width & heights, color, font, component type etc in an easy way. I would prefer a tool that make standard java code, not depending on a lot off property code.
posted 15 years ago
An easy way to design Swing components offers JEasy (www.jeasy.de). In the repository you define all properties of the Swing components. But there is no source coming out. Instead an XML format is used. At runtime the Swing component is built out of the XML descriptions. So the GUI is not implemented in your source. To get full access to Swing components you may get them from the jeasy library by an api call. Then you are able to change column witdh or anything else. Ther are two ways JEasy builds tables. The first is to do a query. Columns are created automaticly by the jeasy library. The second is to define a panel with labels and textfields in it, call it form. Then you may say that your jeasy table is the presentation of the form. That means that every label is a column header of your table. Have a look to the jeasy example. New in version 1.6 is to define foreground and background color of the table.