Only 48 hours left in the trailboss' kickstarter!

New rewards and stretch goals. CLICK HERE!



  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JTextField in JOptionPane?  RSS feed

 
Jeran Zyre
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey thank for helping me before but can anybody tell me how to put a JTextField in a JOptionPane?

thanx in advance
-jeran-
 
Pat Hays
Ranch Hand
Posts: 138
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Jeran

You may make you own JDialog to have a JTextField, that would be easier.
I can recommend JFrameBuilder to do so.
 
Jeran Zyre
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hehehe... thanks Pat but i all ready started on my program and all i need is the code, so that i can add a JTextField on the JOptionPane... i went too ur site thou... and it looks pretty awsome. Im gonna check it out next time, after i finish this program. Thanks by the way So yah can you guys help me please...

-Jeran-
 
Jeran Zyre
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
So i guess its not possible then...
 
Michael Dunn
Ranch Hand
Posts: 4632
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
showInputDialog() should do what you want


 
Jeran Zyre
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks you so much your a lifesaver...
cause i really need it right now

best of luck
-jeran-
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!