Please help...!!_NEWLINE_!Jframe can't stop.....keep on looping.
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   ina_am
Posted On:   Thursday, December 6, 2001 12:52 AM

This is my coding....

public class p2 {
public void p2_on(String key) {
JFrame frame = new m2(key);
ExitWindow exit = new ExitWindow();
frame.addWindowsListener(exit);
frame.pack();
frame.setVisible(true);
p2_on(key); // this is needed to stop another application in terminal (non in JFrame but use System.out.println)

when I run the code.....the frame keep on looping......
but when I delete the p2_on(key); another application runs on terminal keep on running for input.

please help me to solve it...
thank you.

About | Sitemap | Contact