public Dimension getPreferredSize() { if (getText().length() > 1024) { //IZ 44152, avoid excessive calculations when debugger //returns its 512K+ strings return new Dimension(4196, PropUtils.getMinimumPropPanelHeight()); } Dimension result = super.getPreferredSize(); result.width = Math.max(result.width, PropUtils.getMinimumPropPanelWidth()); result.height = Math.max(result.height, PropUtils.getMinimumPropPanelHeight()); return result; }
public Dimension getPreferredSize() { if (getText().length() > 1024) { //IZ 44152, avoid excessive calculations when debugger //returns its 512K+ strings return new Dimension (4196, PropUtils.getMinimumPropPanelHeight()); } Dimension result = super.getPreferredSize(); result.width = Math.max(result.width, PropUtils.getMinimumPropPanelWidth()); result.height = Math.max(result.height, PropUtils.getMinimumPropPanelHeight()); return result; }
public Dimension getPreferredSize() { if (getText().length() > 1024) { //IZ 44152, avoid excessive calculations when debugger //returns its 512K+ strings return new Dimension (4196, PropUtils.getMinimumPropPanelHeight()); } Dimension result = super.getPreferredSize(); result.width = Math.max(result.width, PropUtils.getMinimumPropPanelWidth()); result.height = Math.max(result.height, PropUtils.getMinimumPropPanelHeight()); return result; }
String text = htmlValueUsed ? htmlDisplayValue : getText();
} else { JLabel lbl = htmlLabel; String text = getText(); if (text != null && text.length() < 512) {
} else { JLabel lbl = htmlLabel; String text = getText(); if (text != null && text.length() < 512) {
public Object getValue() { return getText(); }
public Object getValue() { return getText(); }
public Object getValue() { return getText(); }