Closedown
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
#Mon Jun 22 15:51:03 CEST 2015
|
||||
#Tue Jun 23 10:18:31 CEST 2015
|
||||
.\\home\\plugins\\TestMain.java=disabled
|
||||
.\\home\\plugins\\TestingListDetails.java=disabled
|
||||
.\\home\\plugins\\TestingListDetails.java=enabled
|
||||
.\\home\\plugins\\TestingList.java=enabled
|
||||
.\\home\\plugins\\TestingPanel.java=disabled
|
||||
.\\home\\plugins\\PowerSupply.java=enabled
|
||||
.\\home\\plugins\\plublic.java=disabled
|
||||
|
||||
@@ -44,11 +44,6 @@ public class TestingList extends Panel {
|
||||
protected JPanel create() {
|
||||
try {
|
||||
testingList = new NetbeansPluginPanel();
|
||||
JFrame frame = new JFrame();
|
||||
frame.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
|
||||
frame.getContentPane().add(new TestingListDetails());
|
||||
frame.pack();
|
||||
frame.setVisible(true);
|
||||
|
||||
} catch (IOException ex) {
|
||||
Logger.getLogger(TestingList.class.getName()).log(Level.SEVERE, null, ex);
|
||||
@@ -524,10 +519,15 @@ public class TestingList extends Panel {
|
||||
JDialog dlg = new JDialog(getView(), true);
|
||||
//dlg.setLayout(new BorderLayout());
|
||||
|
||||
System.out.println("A");
|
||||
//TestingListDetails detailsPanel = new TestingListDetails();
|
||||
Class TestingListDetailsClass = getController().getClassByName("TestingListDetails");
|
||||
TestingListDetails detailsPanel = (TestingListDetails) TestingListDetailsClass.newInstance();
|
||||
|
||||
Class testingListDetailsClass = getController().getClassByName("TestingListDetails");
|
||||
System.out.println(testingListDetailsClass);
|
||||
//JPanel detailsPanel = (JPanel)testingListDetailsClass.newInstance();
|
||||
JPanel detailsPanel = (JPanel) testingListDetailsClass.getConstructor(new Class[]{HashMap.class}).newInstance(new Object[]{details});
|
||||
|
||||
System.out.println("C");
|
||||
|
||||
|
||||
dlg.getContentPane().add(detailsPanel);
|
||||
//dlg.add(new TestingListDetails());
|
||||
|
||||
Reference in New Issue
Block a user