Solved

how to resize a JLable  in an applet?

Posted on 2001-06-13
1
158 Views
Last Modified: 2010-04-16
hi everybody,
   I try to change the size of JLable in an applet by mouse dragging when it runs at IE5.0. who knows how to do it?
0
Comment
Question by:li6183
1 Comment
 
LVL 2

Accepted Solution

by:
iDeb earned 50 total points
ID: 6187598
create a new class (say MyLabelListenerwhich implements the componentListener interface, there you can handle your resize with the method componentResized......do a addComponentListener for your JLabel object.
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

Title # Comments Views Activity
PDFBox - convert image to PDF, PDF resolution 3 119
Starting to learn JAVA, 7 60
Java Options in Zimbra Server 2 47
netstat -ano | find "8000" and taskkill /f /pid 2984 3 39
Are you developing a Java application and want to create Excel Spreadsheets? You have come to the right place, this article will describe how you can create Excel Spreadsheets from a Java Application. For the purposes of this article, I will be u…
Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…
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.

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

25 Experts available now in Live!

Get 1:1 Help Now