package osp.ui; import java.awt.BorderLayout; import java.awt.FlowLayout; import java.awt.event.ActionEvent; import javax.swing.AbstractAction; import javax.swing.JButton; import javax.swing.JComboBox; import javax.swing.JDialog; import javax.swing.JLabel; import javax.swing.JPanel; import osp.Mask; public class OSPE_QuickSplitSlitsPanel extends JDialog { private static final long serialVersionUID = 1L; BorderLayout borderLayout = new BorderLayout(); JComboBox startSlit = new JComboBox(); JComboBox stopSlit = new JComboBox(); JButton jButtonOK = new JButton("OK"); JButton jButtonCancel = new JButton("Cancel"); Mask currentMask; public OSPE_QuickSplitSlitsPanel(Mask msk, int n, int m) { setDefaultCloseOperation(DISPOSE_ON_CLOSE); setAlwaysOnTop(true); currentMask = msk; for (int i=0 ; i