Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

how to Add jtextfield in jframe ?

 
vicky ma
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi , i want to create apps same as when we open a eclipse and we get " select workspace " frame. but i have to accpet only jar file.
while doing so , i come accross issue for adding jtextfield to show path of jar in text filed.

i tried like :

output => | Select a Jar : | <textfield> | button |

here i am facing problem for setting size of textfield and button (all three columns are coming of same size (Height and width both ) ..it looks bad ).
i am using Container and grid for this. can any1 suggest any other class for this kinda implementation ?
 
Darryl Burke
Bartender
Posts: 5155
11
Java Netbeans IDE Opera
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Take your pick
 
vicky ma
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks a lot
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!