?
Solved

What replaced JDialog show()

Posted on 2007-11-23
3
Medium Priority
?
3,309 Views
Last Modified: 2013-12-22
What has replaced the JDialog show() method?  I've searched on the Web and even the Sun doc didn't show it as depreciated, but compiling shows this:

Note: RdbLogin.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
MegaZillionareRdbApplet.java:52: warning: [deprecation] show() in java.awt.Dialog has been deprecated
        loginDialog.show();
                   ^
1 warning

Ubuntu:>javac -version
javac 1.6.0_03


0
Comment
Question by:yyyc186
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 92

Accepted Solution

by:
objects earned 200 total points
ID: 20340816
setVisible(true);
1
 
LVL 3

Expert Comment

by:sreehariharan
ID: 22007200
you can use
loginDialog.setVisible(true);
0

Featured Post

Want to be a Web Developer? Get Certified Today!

Enroll in the Certified Web Development Professional course package to learn HTML, Javascript, and PHP. Build a solid foundation to work toward your dream job!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

By the end of 1980s, object oriented programming using languages like C++, Simula69 and ObjectPascal gained momentum. It looked like programmers finally found the perfect language. C++ successfully combined the object oriented principles of Simula w…
In this post we will learn different types of Android Layout and some basics of an Android App.
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
Suggested Courses
Course of the Month14 days, 1 hour left to enroll

800 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question