< prev index next >

src/com/sun/javatest/exec/NavigationPane.java

Print this page
rev 145 : 7902237: Fixing raw use of parameterized class
Reviewed-by: jjg

*** 302,312 **** setPreferredSize(new JLabel("MinSize").getPreferredSize()); this.container = container; sf = new StringFitter(getFontMetrics(getFont())); } ! public Component getListCellRendererComponent(JList list, Object o, int index, boolean isSelected, boolean cellHasFocus) { String name = null; if (o instanceof URL) { URL url = (URL) o; // if not file URL --- 302,312 ---- setPreferredSize(new JLabel("MinSize").getPreferredSize()); this.container = container; sf = new StringFitter(getFontMetrics(getFont())); } ! public Component getListCellRendererComponent(JList<?> list, Object o, int index, boolean isSelected, boolean cellHasFocus) { String name = null; if (o instanceof URL) { URL url = (URL) o; // if not file URL
< prev index next >