MCPcopy Create free account
hub / github.com/GateNLP/gate-core / WaitDialog

Method WaitDialog

src/main/java/gate/swing/WaitDialog.java:44–58  ·  view source on GitHub ↗
(Frame frame, String title)

Source from the content-addressed store, hash-verified

42
43 /** */
44 public WaitDialog(Frame frame, String title) {
45 super(frame);
46 //this.icon = new ImageIcon(ClassLoader.getSystemResource(
47 // "gate/resources/img/working"));
48 // use the cached version from MainFrame
49 this.icon = gate.gui.MainFrame.getIcon("working");
50 this.frame = frame;
51 try {
52 jbInit();
53 pack();
54 }
55 catch(Exception ex) {
56 ex.printStackTrace();
57 }
58 }
59
60 /**
61 * Shows the window containing labels for the texts provided as attributes.

Callers

nothing calls this directly

Calls 4

jbInitMethod · 0.95
getIconMethod · 0.65
packMethod · 0.45
printStackTraceMethod · 0.45

Tested by

no test coverage detected