Java Forums

Main Menu
Home
Today's Posts
FAQ
Search
Contact Us

Java Network
Linux Archive
Java Tips
Java Tips Blog

Sponsored Links





Welcome to the Java Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community, you will:

  • have access to post topics
  • communicate privately with other members (PM)
  • not see advertisements between posts
  • have the possibility to earn one of our surprises if you are an active member
  • access many other special features that will be introduced later.

Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-30-2008, 06:21 AM
Member
 
Join Date: Aug 2008
Posts: 3
arpitvavadia is on a distinguished road
Error using Swing
I have used javax.swing , java.awt , java.awt.event.*. I am getting warnning will compliing
[deprecation] show() in java.awt.window have been deprecated 1 warning

What is the meaning
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 08-30-2008, 06:28 AM
Fubarable's Avatar
Senior Member
 
Join Date: Jun 2008
Posts: 1,289
Fubarable is on a distinguished road
This means precisely what it says: don't use the show() method, use something else. This is because the Sun folks have decided that show is out of date, perhaps even dangerous to use, that better options are available. This of course begs the question, which other method should I use? Fortunately for us, the answer is readily available in the API. If you go to to the Window API and look up the show() method you'll see the answer.
Bookmark Post in Technorati
Reply With Quote
  #3 (permalink)  
Old 09-08-2008, 08:16 PM
Member
 
Join Date: Sep 2008
Posts: 31
khajalid is on a distinguished road
This means that you should not use show() method as it was used in previous versions but might not available in future.So, you should use its alternative which is available.
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
error 530 error authentication required rgale JavaServer Pages (JSP) and JSTL 0 05-12-2008 06:28 PM
AWT or Swing bugger AWT / Swing 4 11-22-2007 11:44 AM
Error: javax.swing.AbstractButton cannot be applied to... barney AWT / Swing 1 08-01-2007 08:10 AM
map javax.swing.text.Element to javax.swing.text.View elizabeth New To Java 1 07-30-2007 09:02 PM
swing?? why use it javaforme44a AWT / Swing 3 07-18-2007 09:51 AM


All times are GMT +3. The time now is 12:41 PM.


VBulletin, Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org