Sunday, 3 June 2012

 public void message{
 Object[] options ={"COPY","CUT","DO NOTHING"}; // for buttons


JOptionPane.showOptionDialog 
(frame.this ,
"Choose Operation",
"File    Options",
JOptionPane.YES_OPTION
,JOptionPane.NO_OPTION
,null
,options
,options[2]
 );


}

0 comments:

Post a Comment

Blogroll

Blogger templates

About