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

Method VTKFrame

Wrapping/Java/vtk/sample/InternalFrames.java:114–126  ·  view source on GitHub ↗
(int x, int y)

Source from the content-addressed store, hash-verified

112 private static final long serialVersionUID = 1L;
113
114 public VTKFrame(int x, int y) {
115 super("VTK Window", true, true, true, true);
116 Dimension mySize = new Dimension();
117 mySize.height = 300;
118 mySize.width = 300;
119 this.setSize(mySize);
120 this.getContentPane().setLayout(new BorderLayout());
121 this.setLocation(x, y);
122
123 this.getContentPane().add(new VTKCanvas(), BorderLayout.CENTER);
124 this.pack();
125 this.setVisible(true);
126 }
127 }
128
129 private class MenuMgr extends JMenuBar {

Callers

nothing calls this directly

Calls 3

packMethod · 0.80
setSizeMethod · 0.65
addMethod · 0.45

Tested by

no test coverage detected