Re: How to Develop a Draggable Applets?
You can define how your applet can be closed. I have explained you with the following example in which MenuChooserApplet class receives the close listener and passes it on to the instance of the MenuItemChooser class :
Code:
MenuItemChooser display = null;
...
show= new MenuItemChooser();
...
public void setAppletCloseListener(ActionListener al) {
show.setCloseListener(al);
}
public void appletRestored() {
show.setCloseListener(null);
}
I do to dead flowers what people at morgues do to dead people. Suck all the moisture out, dip them in plastic, paint them up pretty and put them in a nice frame.
Bookmarks