Solved

Component has been deprecated.

Posted on 1998-06-29
1
291 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

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 …
Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.
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.

708 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

11 Experts available now in Live!

Get 1:1 Help Now