|
|
|
@ -11,9 +11,11 @@ import com.fr.design.gui.itextfield.UITextField;
|
|
|
|
|
import com.fr.design.layout.TableLayout; |
|
|
|
|
import com.fr.design.mainframe.DesignerContext; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import javax.swing.*; |
|
|
|
|
import java.awt.*; |
|
|
|
|
import javax.swing.BorderFactory; |
|
|
|
|
import javax.swing.JPanel; |
|
|
|
|
import java.awt.BorderLayout; |
|
|
|
|
import java.awt.Cursor; |
|
|
|
|
import java.awt.Dimension; |
|
|
|
|
import java.awt.event.ActionEvent; |
|
|
|
|
import java.awt.event.ActionListener; |
|
|
|
|
|
|
|
|
@ -63,12 +65,8 @@ public class TinyFormulaPane extends BasicBeanPane<String> implements UIObserver
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
protected void populateTextField(BaseFormula fm) { |
|
|
|
|
if (fm.getContent().length() <= 1) { |
|
|
|
|
formulaTextField.setText("$$$"); |
|
|
|
|
} else { |
|
|
|
|
formulaTextField.setText(fm.getContent()); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
protected void initLayout() { |
|
|
|
|
double p = TableLayout.PREFERRED; |
|
|
|
|