Solved

What replaced JDialog show()

Posted on 2007-11-23
3
3,283 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
3 Comments
 
LVL 92

Accepted Solution

by:
objects earned 50 total points
Comment Utility
setVisible(true);
1
 
LVL 3

Expert Comment

by:sreehariharan
Comment Utility
you can use
loginDialog.setVisible(true);
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
hash value 2 38
bunnyEars challenge 6 62
mapShare challenge 13 67
wordcount challenge 11 73
This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
Viewers learn about the third conditional statement “else if” and use it in an example program. Then additional information about conditional statements is provided, covering the topic thoroughly. Viewers learn about the third conditional statement …
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…

771 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now