Solved

how to resize a JLable  in an applet?

Posted on 2001-06-13
1
160 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

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

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

Suggested Solutions

An old method to applying the Singleton pattern in your Java code is to check if a static instance, defined in the same class that needs to be instantiated once and only once, is null and then create a new instance; otherwise, the pre-existing insta…
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…
The viewer will learn how to implement Singleton Design Pattern in Java.
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.

831 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