/** Convenience method to create new sheet set named {@link #PROPERTIES}. * * @return a new properties sheet set */ public static Sheet.Set createPropertiesSet() { Sheet.Set ps = new Sheet.Set(); ps.setName(PROPERTIES); ps.setDisplayName(Node.getString("Properties")); ps.setShortDescription(Node.getString("HINT_Properties")); return ps; }
/** Convenience method to create new sheet set named {@link #EXPERT}. * * @return a new expert properties sheet set */ public static Sheet.Set createExpertSet() { Sheet.Set ps = new Sheet.Set(); ps.setExpert(true); ps.setName(EXPERT); ps.setDisplayName(Node.getString("Expert")); ps.setShortDescription(Node.getString("HINT_Expert")); return ps; }
); setTitle(Node.getString("LAB_order")); JLabel l = new JLabel(Node.getString("LAB_listOrder")); l.setDisplayedMnemonic(Node.getString("LAB_listOrder_Mnemonic").charAt(0)); constraints = new GridBagConstraints(); constraints.gridx = 0; buttonClose = new JButton(Node.getString("Button_close")); buttonClose.setMnemonic(Node.getString("Button_close_Mnemonic").charAt(0)); buttonUp = new JButton(Node.getString("Button_up")); buttonUp.setMnemonic(Node.getString("Button_up_Mnemonic").charAt(0)); buttonDown = new JButton(Node.getString("Button_down")); buttonDown.setMnemonic(Node.getString("Button_down_Mnemonic").charAt(0)); buttonClose.getAccessibleContext().setAccessibleDescription(Node.getString("ACSD_Button_close")); buttonUp.getAccessibleContext().setAccessibleDescription(Node.getString("ACSD_Button_up")); buttonDown.getAccessibleContext().setAccessibleDescription(Node.getString("ACSD_Button_down")); control.getAccessibleContext().setAccessibleDescription(Node.getString("ACSD_ListOrder")); p.getAccessibleContext().setAccessibleDescription(Node.getString("ACSD_IndexedCustomizer")); getAccessibleContext().setAccessibleDescription(Node.getString("ACSD_IndexedCustomizer"));
public void run() { Index idx = (Index) TALK.get(); java.awt.Container p = new javax.swing.JPanel(); IndexedCustomizer ic = new IndexedCustomizer(p, false); ic.setObject(idx); ic.setImmediateReorder(false); org.openide.DialogDescriptor dd = new org.openide.DialogDescriptor(p, Node.getString("LAB_order")); dd.setModal(true); dd.setOptionType(org.openide.DialogDescriptor.DEFAULT_OPTION); Object result = org.openide.DialogDisplayer.getDefault().notify(dd); if (result == org.openide.DialogDescriptor.OK_OPTION) { ic.doClose(); } } }
/** Convenience method to create new sheet set named {@link #PROPERTIES}. * * @return a new properties sheet set */ public static Sheet.Set createPropertiesSet () { Sheet.Set ps = new Sheet.Set (); ps.setName(PROPERTIES); ps.setDisplayName(Node.getString("Properties")); ps.setShortDescription(Node.getString("HINT_Properties")); return ps; }
/** Convenience method to create new sheet set named {@link #PROPERTIES}. * * @return a new properties sheet set */ public static Sheet.Set createPropertiesSet () { Sheet.Set ps = new Sheet.Set (); ps.setName(PROPERTIES); ps.setDisplayName(Node.getString("Properties")); ps.setShortDescription(Node.getString("HINT_Properties")); return ps; }
/** Convenience method to create new sheet set named {@link #EXPERT}. * * @return a new expert properties sheet set */ public static Sheet.Set createExpertSet () { Sheet.Set ps = new Sheet.Set (); ps.setName(EXPERT); ps.setDisplayName(Node.getString("Expert")); ps.setShortDescription(Node.getString("HINT_Expert")); return ps; }
/** Convenience method to create new sheet set named {@link #EXPERT}. * * @return a new expert properties sheet set */ public static Sheet.Set createExpertSet () { Sheet.Set ps = new Sheet.Set (); ps.setName(EXPERT); ps.setDisplayName(Node.getString("Expert")); ps.setShortDescription(Node.getString("HINT_Expert")); return ps; }
); setTitle(Node.getString("LAB_order")); JLabel l = new JLabel (Node.getString("LAB_listOrder")); l.setDisplayedMnemonic(Node.getString("LAB_listOrder_Mnemonic").charAt(0)); constraints = new GridBagConstraints(); constraints.gridx = 0; buttonClose = new JButton (Node.getString("Button_close")); buttonClose.setMnemonic(Node.getString("Button_close_Mnemonic").charAt(0)); buttonUp = new JButton (Node.getString("Button_up")); buttonUp.setMnemonic(Node.getString("Button_up_Mnemonic").charAt(0)); buttonDown = new JButton (Node.getString("Button_down")); buttonDown.setMnemonic(Node.getString("Button_down_Mnemonic").charAt(0)); buttonClose.getAccessibleContext().setAccessibleDescription(Node.getString("ACSD_Button_close")); buttonUp.getAccessibleContext().setAccessibleDescription(Node.getString("ACSD_Button_up")); buttonDown.getAccessibleContext().setAccessibleDescription(Node.getString("ACSD_Button_down")); control.getAccessibleContext().setAccessibleDescription(Node.getString("ACSD_ListOrder")); p.getAccessibleContext().setAccessibleDescription(Node.getString("ACSD_IndexedCustomizer")); getAccessibleContext().setAccessibleDescription(Node.getString("ACSD_IndexedCustomizer"));
); setTitle(Node.getString("LAB_order")); JLabel l = new JLabel (Node.getString("LAB_listOrder")); l.setDisplayedMnemonic(Node.getString("LAB_listOrder_Mnemonic").charAt(0)); constraints = new GridBagConstraints(); constraints.gridx = 0; buttonClose = new JButton (Node.getString("Button_close")); buttonClose.setMnemonic(Node.getString("Button_close_Mnemonic").charAt(0)); buttonUp = new JButton (Node.getString("Button_up")); buttonUp.setMnemonic(Node.getString("Button_up_Mnemonic").charAt(0)); buttonDown = new JButton (Node.getString("Button_down")); buttonDown.setMnemonic(Node.getString("Button_down_Mnemonic").charAt(0)); buttonClose.getAccessibleContext().setAccessibleDescription(Node.getString("ACSD_Button_close")); buttonUp.getAccessibleContext().setAccessibleDescription(Node.getString("ACSD_Button_up")); buttonDown.getAccessibleContext().setAccessibleDescription(Node.getString("ACSD_Button_down")); control.getAccessibleContext().setAccessibleDescription(Node.getString("ACSD_ListOrder")); p.getAccessibleContext().setAccessibleDescription(Node.getString("ACSD_IndexedCustomizer")); getAccessibleContext().setAccessibleDescription(Node.getString("ACSD_IndexedCustomizer"));
public void run() { Index idx = (Index)TALK.get(); java.awt.Container p = new javax.swing.JPanel(); IndexedCustomizer ic = new IndexedCustomizer(p, false); ic.setObject(idx); ic.setImmediateReorder(false); org.openide.DialogDescriptor dd = new org.openide.DialogDescriptor(p, Node.getString("LAB_order")); dd.setModal(true); dd.setOptionType(org.openide.DialogDescriptor.DEFAULT_OPTION); Object result = org.openide.DialogDisplayer.getDefault().notify(dd); if (result == org.openide.DialogDescriptor.OK_OPTION) { ic.doClose(); } } }
public void run() { Index idx = (Index)TALK.get(); java.awt.Container p = new javax.swing.JPanel(); IndexedCustomizer ic = new IndexedCustomizer(p, false); ic.setObject(idx); ic.setImmediateReorder(false); org.openide.DialogDescriptor dd = new org.openide.DialogDescriptor(p, Node.getString("LAB_order")); dd.setModal(true); dd.setOptionType(org.openide.DialogDescriptor.DEFAULT_OPTION); Object result = org.openide.DialogDisplayer.getDefault().notify(dd); if (result == org.openide.DialogDescriptor.OK_OPTION) { ic.doClose(); } } }