File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
tmc-plugin/src/fi/helsinki/cs/tmc/ui Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 6
6
import fi .helsinki .cs .tmc .core .holders .TmcSettingsHolder ;
7
7
import fi .helsinki .cs .tmc .model .CourseDb ;
8
8
9
- import java .awt .BorderLayout ;
10
9
import java .awt .Color ;
11
10
import java .awt .Component ;
12
11
import java .awt .Dimension ;
17
16
import java .awt .event .ComponentEvent ;
18
17
import java .awt .event .ComponentListener ;
19
18
import java .util .List ;
19
+
20
20
import javax .swing .BoxLayout ;
21
21
import javax .swing .JButton ;
22
22
import javax .swing .JFrame ;
@@ -73,7 +73,7 @@ public void mouseClicked(MouseEvent event) {
73
73
74
74
public static void display (PreferencesPanel prefPanel ) throws Exception {
75
75
if (frame == null ) {
76
- frame = new JFrame ("Courses " );
76
+ frame = new JFrame ("Select a course " );
77
77
}
78
78
frame .setDefaultCloseOperation (JFrame .DISPOSE_ON_CLOSE );
79
79
List <Course > courses = prefPanel .getAvailableCourses ();
Original file line number Diff line number Diff line change 5
5
import fi .helsinki .cs .tmc .core .domain .ProgressObserver ;
6
6
import fi .helsinki .cs .tmc .core .holders .TmcSettingsHolder ;
7
7
8
- import java .awt .BorderLayout ;
9
8
import java .awt .Color ;
10
9
import java .awt .Component ;
11
10
import java .awt .Dimension ;
16
15
import java .awt .event .ComponentEvent ;
17
16
import java .awt .event .ComponentListener ;
18
17
import java .util .List ;
18
+
19
19
import javax .swing .BoxLayout ;
20
20
import javax .swing .JButton ;
21
21
import javax .swing .JFrame ;
@@ -72,7 +72,7 @@ public void mouseClicked(MouseEvent event) {
72
72
73
73
public static void display () throws Exception {
74
74
if (frame == null ) {
75
- frame = new JFrame ("Organizations " );
75
+ frame = new JFrame ("Select an organization " );
76
76
}
77
77
frame .setDefaultCloseOperation (JFrame .DISPOSE_ON_CLOSE );
78
78
List <Organization > organizations = TmcCore .get ().getOrganizations (ProgressObserver .NULL_OBSERVER ).call ();
You can’t perform that action at this time.
0 commit comments