(Frame frame, String title)
| 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. |
nothing calls this directly
no test coverage detected