Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

thishow & this.hide

Status
Not open for further replies.

mikedaruke

Technical User
Mar 14, 2005
199
US
This is what I get: uses or overrides a deprecated API.

I searched and I know why. The question is what methods do I use instead? JDialog is what I am using.

Also what does this mean?

Check.java:8: warning: [serial] serializable class Check has no definition of serialVersionUID

public class Check extends JDialog {


Thanks
 
Which JRE version are you using?

What about setVisible()?

Where did you actually did your search?
From another forum:

Code:
Apperantly you are using a serializable class, which requires you to implement a static final long serialVersionUID, which I have no clue to what on earth it does (I have never done anything serial).

Cheers,
Dian
 
java version "1.5.0_04"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_04-b05)
Java HotSpot(TM) Client VM (build 1.5.0_04-b05, mixed mode, sharing)

I searched on this site and it said those methods are no longer going to be supported. which is fine. Does that mean they create new ones?
 
Nice.

When a method gets deprecated, it's generally for some obscure reasons only Illuminati understand. Other times, it's well documented.

Anyway, in the API documentation, there's an "use instead" statement that gives some light to the darkness.

Cheers,
Dian
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top