Actually I am trying to POP-UP a confirmation dialog box.
Here is my code ...
[code=java]
class myFrame{
.
.
.
void actionPerformed (ActionEvent evt){
new StartProcess(th is).start();
}
.
.
.
}
class StartProcess extebds Thread
{
JFrame frame;
StartProcess(JF rame frame){
this.frame = frame;
}
public void run(){
do();
}
private do(){
JOptionPane.sho wConfirmDialog( frame ............... ); //it's coming but not properly
}
}
[/code]
Debasis Jana
Here is my code ...
[code=java]
class myFrame{
.
.
.
void actionPerformed (ActionEvent evt){
new StartProcess(th is).start();
}
.
.
.
}
class StartProcess extebds Thread
{
JFrame frame;
StartProcess(JF rame frame){
this.frame = frame;
}
public void run(){
do();
}
private do(){
JOptionPane.sho wConfirmDialog( frame ............... ); //it's coming but not properly
}
}
[/code]
Debasis Jana
Comment