Hello all,

I am developing a GUI using JAVA 2 on linux.

There is one menuitem, which when pressed should resize my main window.
But I am not exactly able to write the resize code in the
actionlistener..

class xxx extends JFrame{
        .
        .
        .

menulistener.addActionListener(new MIActionListener());

        .
        .

}

class MIActionListener implements ActionListener{
        public void ActionPerformed(ActionEvent Ae){
        //To write a code so as the resize the
        //main window of xxx.
        }
}

So what can I do?

This may be a silly question, but I would thank if someone answers it.
THanking YOU
Alpesh

        




===
KOTHARI ALPESH D.
STUDENT M. TECH.
CEDT
INDIAN INSTITUTE OF SCIENCE
BANGALORE-560 012
INDIA
__________________________________________________
Do You Yahoo!?
Bid and sell for free at http://auctions.yahoo.com


----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to