Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Java in General
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
Java in General
joptionpanel won't show
david luis
Ranch Hand
Posts: 69
1
posted 9 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hi,
I have a button in a jframe that call to other method class and check some things and show a Joptionpanel. To make these I pass the jframe value to the method but doesn't show anything.
Could you help me please?
rsPost = basePost.dameDescripcion( aBuscar.getText(),ventana);
if (estaVacio(rs)){ System.out.println("esta vacio"); JOptionPane myIO = new JOptionPane(); myIO.showMessageDialog(null,"Eggs are not supposed to be green.","A plain message",JOptionPane.PLAIN_MESSAGE); }else { System.out.println("esta lleno"); }
K. Tsang
Bartender
Posts: 3648
16
I like...
posted 9 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Does "estaVacio(rs)" return true?
K. Tsang CEng MBCS PMP PMI-ACP OCMJEA OCPJP
Don't get me started about those stupid
light bulbs
.
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
JOptionPane buttons
making a JFrame nonFocusable
Closing jOptionPane and show card?
Exception in GUI
execute() method is not being called
More...