55 |
55 |
layout.rowHeights = new int[] {0, 5, 0, 5, 0, 5, 0};
|
56 |
56 |
setLayout(layout);
|
57 |
57 |
|
58 |
|
jLabel1.setText("Select the notification mode");
|
|
58 |
jLabel1.setText(PluginServices.getText(this,"Select_the_notification_mode"));
|
59 |
59 |
jLabel1.setHorizontalTextPosition(SwingConstants.LEFT);
|
60 |
60 |
gridBagConstraints = new GridBagConstraints();
|
61 |
61 |
gridBagConstraints.gridx = 0;
|
... | ... | |
64 |
64 |
gridBagConstraints.anchor = GridBagConstraints.NORTHWEST;
|
65 |
65 |
add(jLabel1, gridBagConstraints);
|
66 |
66 |
|
67 |
|
jchkShowInConsole.setText("Show notificacion in console window");
|
|
67 |
jchkShowInConsole.setText(PluginServices.getText(this,"Show_notifications_in_the_console_window"));
|
68 |
68 |
gridBagConstraints = new GridBagConstraints();
|
69 |
69 |
gridBagConstraints.gridx = 0;
|
70 |
70 |
gridBagConstraints.gridy = 4;
|
71 |
71 |
gridBagConstraints.anchor = GridBagConstraints.WEST;
|
72 |
72 |
add(jchkShowInConsole, gridBagConstraints);
|
73 |
73 |
|
74 |
|
jchkShowInStatusbar.setText("Show notifications in statusbar");
|
|
74 |
jchkShowInStatusbar.setText(PluginServices.getText(this,"Show_notifications_in_the_statusbar"));
|
75 |
75 |
jchkShowInStatusbar.setHorizontalAlignment(SwingConstants.LEFT);
|
76 |
76 |
gridBagConstraints = new GridBagConstraints();
|
77 |
77 |
gridBagConstraints.gridx = 0;
|
... | ... | |
80 |
80 |
gridBagConstraints.anchor = GridBagConstraints.WEST;
|
81 |
81 |
add(jchkShowInStatusbar, gridBagConstraints);
|
82 |
82 |
|
83 |
|
jLabel2.setText("The changes take effect in next execution of the application");
|
|
83 |
jLabel2.setText(PluginServices.getText(this,"The_changes_will_take_effect_in_the_next_execution_of_the_application"));
|
84 |
84 |
gridBagConstraints = new GridBagConstraints();
|
85 |
85 |
gridBagConstraints.gridx = 0;
|
86 |
86 |
gridBagConstraints.gridy = 6;
|
... | ... | |
122 |
122 |
}
|
123 |
123 |
|
124 |
124 |
public String getTitle() {
|
125 |
|
return "Notificactions mode";
|
|
125 |
return PluginServices.getText(this, "notifications_mode");
|
126 |
126 |
}
|
127 |
127 |
|
128 |
128 |
public JPanel getPanel() {
|