@@ -70,7 +70,7 @@ fhmedia:
7070
7171 \smallskip
7272
73- ``` {. java size=footnotesize}
73+ ``` java
7474 JRadioButton b1 = new JRadioButton (" Button 1" , true );
7575 JRadioButton b2 = new JRadioButton (" Button 2" , false );
7676
@@ -87,7 +87,7 @@ fhmedia:
8787
8888\bigskip
8989
90- ```{ . java size = footnotesize}
90+ ```java
9191JFileChooser fc = new JFileChooser (" Startverzeichnis" );
9292fc. setFileSelectionMode(JFileChooser . FILES_AND_DIRECTORIES );
9393if (fc. showOpenDialog() == JFileChooser . APPROVE_OPTION )
@@ -122,7 +122,7 @@ if (fc.showOpenDialog() == JFileChooser.APPROVE_OPTION)
122122
123123 \smallskip
124124
125- ``` {. java size=footnotesize}
125+ ``` java
126126 public void addTab(String title, Icon icon, Component component, String tip)
127127 ```
128128
@@ -135,7 +135,7 @@ if (fc.showOpenDialog() == JFileChooser.APPROVE_OPTION)
135135
136136 \smallskip
137137
138- ```{ . java size = footnotesize}
138+ ```java
139139 JPanel panel = new JPanel ();
140140 JTextArea text = new JTextArea (5 , 10 );
141141
@@ -216,13 +216,13 @@ sind vom Typ `JMenuItem` und verhalten sich wie Buttons.
216216
217217* Einträge vom Typ ` JMenuItem ` hinzufügen (beispielsweise ` JRadioButtonMenuItem ` )
218218
219- ``` {. java size=footnotesize}
219+ ``` java
220220 public JMenuItem add(JMenuItem menuItem)
221221 ```
222222
223223* Men ü über der aufrufenden Komponente " `invoker`" anzeigen
224224
225- ```{ . java size = footnotesize}
225+ ```java
226226 public void show(Component invoker, int x, int y)
227227 ```
228228
0 commit comments