Sponsored Link •
|
Advertisement
|
Advertisement
|
This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.
Message:
Instead of using multiple JPanels (one for each line on your form), try using one JPanel and use the grid layout manager. That way you have a grid 'cell' for as many lines on your form as you want. Layout managers can be difficult, but it beats having a separate panel for each line, I think. > Hi all, just had some questions possibly you could help me with: > 1) Say I wanted to have a form with lots of information and then a few JTextFields for people to input stuff. What I've done is just have each line of the form be a JPanel. There's gotta be an easier way to do it though. For one thing, I want them to be able to press a button and insert a line of new data in the middle at a > 2) Say I want to then pass that information to the server that the applet is running on and get it to start running some script with that information... > Thanks so much,
Replies:
|
Sponsored Links
|