Solved

Component has been deprecated.

Posted on 1998-06-29
1
297 Views
Last Modified: 2010-03-30
I'm a error, 'deprecated'

Ok, I compiled with -deprecated option, but I like resolve error, any FAQ over this....
 Note: The method java.awt.Dimension size() in class java.awt.
Component has been deprecated.
            hh = size().height;
                     ^
0
Comment
Question by:juliomb
1 Comment
 
LVL 2

Accepted Solution

by:
aziz061097 earned 100 total points
ID: 1224091
Replace by getSize() . Jdk 1.1 has setSize() and getSize() methods
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

After being asked a question last year, I went into one of my moods where I did some research and code just for the fun and learning of it all.  Subsequently, from this journey, I put together this article on "Range Searching Using Visual Basic.NET …
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…
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.

863 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

22 Experts available now in Live!

Get 1:1 Help Now