MCPcopy Create free account
hub / github.com/Kitware/VTK / InternalFrames

Method InternalFrames

Wrapping/Java/vtk/sample/InternalFrames.java:44–61  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

42 // -----------------------------------------------------------------
43
44 public InternalFrames() {
45 super("VTK Internal Frame Demo");
46 screenSize = Toolkit.getDefaultToolkit().getScreenSize();
47 this.setSize(900, 900);
48
49 WindowListener l = new WindowAdapter() {
50 public void windowClosing(WindowEvent e) {
51 System.exit(0);
52 }
53 };
54 this.addWindowListener(l);
55
56 this.getContentPane().add(new SplitFrame());
57
58 new MenuMgr();
59
60 this.setVisible(true);
61 }
62
63 public void addMenuBar(JMenuBar m) {
64 setJMenuBar(m);

Callers

nothing calls this directly

Calls 2

setSizeMethod · 0.65
addMethod · 0.45

Tested by

no test coverage detected