1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
|
/* */ package NET.worlds.console;
/* */
/* */ import java.awt.GridBagConstraints;
/* */ import java.awt.TextArea;
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */ class LogMailDialog
/* */ extends OkCancelDialog
/* */ {
/* */ private static final long serialVersionUID = -6276776216084519247L;
/* */ private TextArea commentArea;
/* */ private String tagString;
/* */
/* */ public LogMailDialog(DialogReceiver rcvr, String tag)
/* */ {
/* 27 */ super(Console.getFrame(), rcvr, Console.message("Log-Mailer"), Console.message("Dont-Report"), Console.message("Report"), null, false);
/* 28 */ this.tagString = tag;
/* 29 */ this.commentArea = new TextArea("", 5, 60, 1);
/* 30 */ this.commentArea.setEditable(true);
/* 31 */ setConfirmKey(-1);
/* */ }
/* */
/* */
/* */ protected void build()
/* */ {
/* 37 */ GridBagConstraints c = new GridBagConstraints();
/* 38 */ if (this.tagString != null) {
/* 39 */ c.weightx = 1.0D;
/* 40 */ c.weighty = 1.0D;
/* 41 */ c.gridwidth = 0;
/* 42 */ add(this.gbag, new MultiLineLabel(this.tagString, 5, 5), c);
/* */ }
/* */
/* */
/* 46 */ c.weightx = 1.0D;
/* 47 */ c.weighty = 1.0D;
/* 48 */ c.gridwidth = 0;
/* 49 */ add(this.gbag, this.commentArea, c);
/* */
/* */
/* 52 */ int count = 0;
/* 53 */ if (this.okButton != null)
/* 54 */ count++;
/* 55 */ if (this.cancelButton != null)
/* 56 */ count++;
/* 57 */ c.gridwidth = count;
/* 58 */ c.weightx = 1.0D;
/* 59 */ c.weighty = 0.0D;
/* 60 */ if (this.okButton != null)
/* 61 */ add(this.gbag, this.okButton, c);
/* 62 */ if (this.cancelButton != null) {
/* 63 */ add(this.gbag, this.cancelButton, c);
/* */ }
/* */ }
/* */
/* */ public String getComment() {
/* 68 */ return this.commentArea.getText();
/* */ }
/* */ }
/* Location: C:\Program Files (x86)\Worlds Inc\WorldsPlayer - Win7\lib\worlds.jar!\NET\worlds\console\LogMailDialog.class
* Java compiler version: 6 (50.0)
* JD-Core Version: 0.7.1
*/
|