wood burning stoves 2.0*
The moose likes Applets and the fly likes applet resise not happening on drag by user Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "applet resise not happening on drag by user " Watch "applet resise not happening on drag by user " New topic

applet resise not happening on drag by user

Rakesh Kumar
Ranch Hand

Joined: May 30, 2006
Posts: 63
Dear friends,

I tried to implement resising on drag of the applet window by user using below coding .but it is not resizing but ad=fter refresh only it is drawing properly as per the

public void setSize(int width, int height) {


I am able to pass teh width and height into applet as pert he resize. But "setSise()" method is not working properly.

Friends please share your idea and thought about it.It is little urgent.

Thanks in advance

john price
Ranch Hand

Joined: Feb 24, 2011
Posts: 495

Keep the setSize method in your code. What I've found is this to work (it's JavaScript I found online, it's copied and pasted, and I have very little clue what it ACTUALLY does :P ) :

“Don’t worry if it doesn’t work right. If everything did, you’d be out of a job.” (Mosher's Law of Software Engineering)
“If debugging is the process of removing bugs, then programming must be the process of putting them in.” (Edsger Dijkstra)
I agree. Here's the link: http://aspose.com/file-tools
subject: applet resise not happening on drag by user
Similar Threads
Problem with JDialog and setSize()
A better way with the if statement?
Abstraction and Object Oriented Programming
How do I Dynamically change Applet size.
Bean Resizing problem