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] ); }
Tech news,Mobile phone tricks,Computer tricks,Free downloads...