MoMeak 7 years ago
parent
commit
d145f7facb
  1. 6
      designer_base/src/com/fr/design/gui/ibutton/UISliderButton.java
  2. 11
      designer_base/src/com/fr/design/present/dict/FormulaDictPane.java

6
designer_base/src/com/fr/design/gui/ibutton/UISliderButton.java

@ -44,14 +44,12 @@ public class UISliderButton extends JButton implements UIObserver {
} }
public UISliderButton(String string) { public UISliderButton(String string) {
super(string); this(string, null);
init();
} }
public UISliderButton(Icon icon) { public UISliderButton(Icon icon) {
super(icon); this(null, icon);
init();
} }
public UISliderButton(Action action) { public UISliderButton(Action action) {

11
designer_base/src/com/fr/design/present/dict/FormulaDictPane.java

@ -28,17 +28,6 @@ public class FormulaDictPane extends FurtherBasicBeanPane<FormulaDictionary> {
initComponents(); initComponents();
} }
public static void main(String[] args) {
// JFrame jf = new JFrame("test");
// jf.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
// JPanel content = (JPanel) jf.getContentPane();
// content.setLayout(new BorderLayout());
// content.add(new FormulaDictPane(), BorderLayout.NORTH);
// GUICoreUtils.centerWindow(jf);
// jf.setSize(250, 400);
// jf.setVisible(true);
}
private void initComponents() { private void initComponents() {
keyFormulaEditor = new FormulaEditor(); keyFormulaEditor = new FormulaEditor();
keyFormulaEditor.setColumns(EDITOR_COLUMN); keyFormulaEditor.setColumns(EDITOR_COLUMN);

Loading…
Cancel
Save