518519520521522523524525526527528
@Override public void installUI(final JComponent c) { list = (JList)c; rendererPane = new CellRendererPane(); rendererPane.setVisible(false); list.add(rendererPane); layouter.setList(list); installDefaults();
292293294295296297298299300301302
return new BasicTableUI(); } public void installUI(final JComponent c) { table = (JTable)c; rendererPane = new CellRendererPane(); rendererPane.setVisible(false); table.add(rendererPane); installDefaults(); installListeners();
585960616263646566
*/ private boolean hasFocus; public EditorTextField(JComboBox edited) { combo = edited; rendererPane = new CellRendererPane(); addFocusListener(this); }
263264265266267268269270271272273
return new BasicTableHeaderUI(); } public void installUI(final JComponent c) { header = (JTableHeader)c; rendererPane = new CellRendererPane(); rendererPane.setVisible(false); header.add(rendererPane); installDefaults(); installListeners();
293294295296297298299300301302303
354355356357358359360361
public static ComponentUI createUI(final JComponent comboBox) { return new BasicComboBoxUI(); } public BasicComboBoxUI() { currentValuePane = new CellRendererPane(); currentValuePane.setVisible(false); }
return new BasicTableUI(); } public void installUI(final JComponent c) { table = (JTable)c; rendererPane = new CellRendererPane(); installDefaults(); installListeners(); installKeyboardActions(); }
349350351352353354355356
1198119912001201120212031204
return rowHeight > 0 && largeModel ? (AbstractLayoutCache)new FixedHeightLayoutCache() : (AbstractLayoutCache)new VariableHeightLayoutCache(); } protected CellRendererPane createCellRendererPane() { return new CellRendererPane(); }