Creates an inspector for the given model. @param app ClassicalApp
()
| 22 | * @param app ClassicalApp |
| 23 | */ |
| 24 | public InspectorBug() { |
| 25 | controlTable.setPreferredSize(new Dimension(100, 100)); |
| 26 | controlTable.setDecimalFormat("#0.0000"); |
| 27 | controlTable.setEditable(false); |
| 28 | controlTable.setValue("r", r); |
| 29 | controlTable.setValue("E", E); |
| 30 | controlTable.setValue("L", L); |
| 31 | controlTable.setValue("dr/dt", 0); |
| 32 | controlTable.setValue("rate", 0); |
| 33 | plot.setJMenuBar(null); |
| 34 | plot.setSize(500, 300); |
| 35 | controlTable.setBackground(Color.BLUE); |
| 36 | plot.getContentPane().add(controlTable, BorderLayout.WEST); //WC: Bug when adding to content panel |
| 37 | } |
| 38 | |
| 39 | |
| 40 | public void show() { |
nothing calls this directly
no test coverage detected