Solved

how to resize a JLable  in an applet?

Posted on 2001-06-13
1
157 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
Comment Utility
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

For beginner Java programmers or at least those new to the Eclipse IDE, the following tutorial will show some (four) ways in which you can import your Java projects to your Eclipse workbench. Introduction While learning Java can be done with…
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.

763 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

6 Experts available now in Live!

Get 1:1 Help Now