Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

new line with JLabel with textarea aside of it

807605Aug 15 2007 — edited Aug 15 2007
hey,

Im making a window... and I want to right several lines with aside of that a JTextfield.

i tried severl things:

new JLabel(" first \n second") .... but that doesnt work

new JLabel("<html> first <br> second") ... but then the lines are not outlined with the textfield.

Does anyone have an idea.

Also does anyone know if you fill in the values in the JTextfield, how they can be rembered next time (update)?

thanks !!!!!

Notfun
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 12 2007
Added on Aug 15 2007
3 comments
226 views