So I haven't done any programming using Swing or AWT since college, anyways, I need to build a UI with a bunch of components inside of a pane, and a button below it, what's the easiest way to get some sort of table structure so I can have the button below the pane?
4/26/2010 12:11:27 AM
java swing?what is this 2002?
4/26/2010 12:35:31 AM
I need 2 make a standalone app to convert data copybooks to xml blobber files, don't have VB or anything, but definately have java, plus it's what everybody uses, so if anyone needs to add features they can do it easily.I generally use JSF for UI, and shits way easier to make something into rows
4/26/2010 12:43:00 AM
man ain't no shame in swing
4/26/2010 8:33:50 AM
Doing swing by hand isn't impossible but it can be a big pain in the ass the more complicated your panes are. If it doesn't need to be too pretty you could probably just wing it off the swing tutorials on suns site. There are also grpahical drag and drop builders, but i've never used them. If i were doing any UI development thats where i'd start looking.As far as alternative UI frameworks go, the eclipse swt looks real nice, but i thought it was kind of a pain to use. Again, there are probably graphical builders that would make it easier.I would google for an eclipse gui builder plugin and see whats out there. Doing swing by hand becomes more of a pita the more components and layouts you start shoving in.
4/26/2010 9:26:00 AM
can't install anything, it's for work, they're pretty strict on that stuff.I figured it out anyways, the guide for layouts was on a different page, here's the code if anyone is interested:
pane.setLayout(new BoxLayout(pane, BoxLayout.Y_AXIS));
4/26/2010 7:18:22 PM
4/26/2010 7:23:54 PM
^wouldnt that be quick and dirty?
4/26/2010 7:56:00 PM