< prev index next >

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

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

*** 283,293 **** p.add(msg, BorderLayout.NORTH); DefaultListModel<String> model = new DefaultListModel<>(); for (int i = paths.length; i > 0; i--) model.add(model.getSize(), paths[model.getSize()]); ! JList list = uif.createList("rh.confirmList", model); p.add(uif.createScrollPane(list, ScrollPaneConstants.VERTICAL_SCROLLBAR_AS_NEEDED, ScrollPaneConstants.HORIZONTAL_SCROLLBAR_AS_NEEDED), BorderLayout.CENTER); option = uif.showCustomYesNoDialog("rh.confirmQuick", p); --- 283,293 ---- p.add(msg, BorderLayout.NORTH); DefaultListModel<String> model = new DefaultListModel<>(); for (int i = paths.length; i > 0; i--) model.add(model.getSize(), paths[model.getSize()]); ! JList<?> list = uif.createList("rh.confirmList", model); p.add(uif.createScrollPane(list, ScrollPaneConstants.VERTICAL_SCROLLBAR_AS_NEEDED, ScrollPaneConstants.HORIZONTAL_SCROLLBAR_AS_NEEDED), BorderLayout.CENTER); option = uif.showCustomYesNoDialog("rh.confirmQuick", p);
< prev index next >