You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 104 Next »

how to add this code to BEAN SHELL SCRIPT

import javax.swing.JFrame;
import javax.swing.JOptionPane;
 
public class ShowMessageDialogExample1
{
  public static void main(String[] args)
 

Unknown macro: {    String backupDir = "/Users/al/backups";         // create a jframe    JFrame frame = new JFrame("JOptionPane showMessageDialog example");         // show a joptionpane dialog using showMessageDialog    JOptionPane.showMessageDialog(frame,        "Problem writing to backup directory}

}

  • No labels