MCPcopy Create free account
hub / github.com/OpenSourcePhysics/osp / InspectorBug

Method InspectorBug

unused/debugging/InspectorBug.java:24–37  ·  view source on GitHub ↗

Creates an inspector for the given model. @param app ClassicalApp

()

Source from the content-addressed store, hash-verified

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() {

Callers

nothing calls this directly

Calls 7

setValueMethod · 0.65
setSizeMethod · 0.65
setDecimalFormatMethod · 0.45
setEditableMethod · 0.45
setBackgroundMethod · 0.45
addMethod · 0.45
getContentPaneMethod · 0.45

Tested by

no test coverage detected