@@ -237,7 +237,7 @@ private void initComponents() {
237237 setResizable (false );
238238 getContentPane ().setLayout (new java .awt .GridBagLayout ());
239239
240- irisInstallerLabel .setFont (new java . awt . Font ( "Arial" , 0 , 36 )); // NOI18N
240+ irisInstallerLabel .setFont (irisInstallerLabel . getFont (). deriveFont (( float ) 36 ));
241241 irisInstallerLabel .setHorizontalAlignment (javax .swing .SwingConstants .CENTER );
242242 irisInstallerLabel .setIcon (new javax .swing .ImageIcon (getClass ().getResource ("/iris_profile_icon.png" ))); // NOI18N
243243 irisInstallerLabel .setText (" Iris & Sodium" );
@@ -248,7 +248,7 @@ private void initComponents() {
248248 gridBagConstraints .insets = new java .awt .Insets (30 , 0 , 0 , 0 );
249249 getContentPane ().add (irisInstallerLabel , gridBagConstraints );
250250
251- gameVersionLabel .setFont (new java .awt .Font ( "Arial" , 0 , 16 )); // NOI18N
251+ gameVersionLabel .setFont (gameVersionLabel . getFont (). deriveFont ( gameVersionLabel . getFont (). getStyle () | java .awt .Font . BOLD , 16 ));
252252 gameVersionLabel .setHorizontalAlignment (javax .swing .SwingConstants .CENTER );
253253 gameVersionLabel .setText ("Select game version:" );
254254 gameVersionLabel .setToolTipText ("" );
@@ -264,7 +264,7 @@ private void initComponents() {
264264 gridBagConstraints .insets = new java .awt .Insets (20 , 0 , 0 , 0 );
265265 getContentPane ().add (gameVersionLabel , gridBagConstraints );
266266
267- outdatedText1 .setFont (new java . awt . Font ( "Arial" , 0 , 16 )); // NOI18N
267+ outdatedText1 .setFont (outdatedText1 . getFont (). deriveFont (( float ) 16 ));
268268 outdatedText1 .setForeground (new java .awt .Color (255 , 204 , 0 ));
269269 outdatedText1 .setHorizontalAlignment (javax .swing .SwingConstants .CENTER );
270270 outdatedText1 .setText ("Warning: We have ended support for <version>." );
@@ -279,7 +279,7 @@ private void initComponents() {
279279 gridBagConstraints .insets = new java .awt .Insets (6 , 0 , 0 , 0 );
280280 getContentPane ().add (outdatedText1 , gridBagConstraints );
281281
282- outdatedText2 .setFont (new java . awt . Font ( "Arial" , 0 , 16 )); // NOI18N
282+ outdatedText2 .setFont (outdatedText2 . getFont (). deriveFont (( float ) 16 ));
283283 outdatedText2 .setForeground (new java .awt .Color (255 , 204 , 0 ));
284284 outdatedText2 .setHorizontalAlignment (javax .swing .SwingConstants .CENTER );
285285 outdatedText2 .setText ("The Iris version you get will most likely be outdated." );
@@ -292,7 +292,7 @@ private void initComponents() {
292292 gridBagConstraints .weightx = 1.0 ;
293293 getContentPane ().add (outdatedText2 , gridBagConstraints );
294294
295- installationType .setFont (new java .awt .Font ( "Arial" , 0 , 16 )); // NOI18N
295+ installationType .setFont (installationType . getFont (). deriveFont ( installationType . getFont (). getStyle () | java .awt .Font . BOLD , 16 ));
296296 installationType .setHorizontalAlignment (javax .swing .SwingConstants .CENTER );
297297 installationType .setText (" Installation type:" );
298298 installationType .setHorizontalTextPosition (javax .swing .SwingConstants .CENTER );
@@ -304,7 +304,7 @@ private void initComponents() {
304304 gridBagConstraints .insets = new java .awt .Insets (12 , 0 , 0 , 0 );
305305 getContentPane ().add (installationType , gridBagConstraints );
306306
307- installationDirectory .setFont (new java .awt .Font ( "Arial" , 0 , 16 )); // NOI18N
307+ installationDirectory .setFont (installationDirectory . getFont (). deriveFont ( installationDirectory . getFont (). getStyle () | java .awt .Font . BOLD , 16 ));
308308 installationDirectory .setHorizontalAlignment (javax .swing .SwingConstants .CENTER );
309309 installationDirectory .setText ("Installation directory:" );
310310 installationDirectory .setHorizontalTextPosition (javax .swing .SwingConstants .CENTER );
@@ -320,7 +320,7 @@ private void initComponents() {
320320 installationTypesContainer .setLayout (new java .awt .BorderLayout (10 , 0 ));
321321
322322 installType .add (standaloneType );
323- standaloneType .setFont (new java . awt . Font ( "Arial" , 0 , 16 )); // NOI18N
323+ standaloneType .setFont (standaloneType . getFont (). deriveFont (( float ) 16 ));
324324 standaloneType .setSelected (true );
325325 standaloneType .setText ("Iris Install" );
326326 standaloneType .setToolTipText ("This installs Iris and Sodium by itself, without any mods." );
@@ -332,7 +332,7 @@ public void mouseClicked(java.awt.event.MouseEvent evt) {
332332 installationTypesContainer .add (standaloneType , java .awt .BorderLayout .LINE_START );
333333
334334 installType .add (fabricType );
335- fabricType .setFont (new java . awt . Font ( "Arial" , 0 , 16 )); // NOI18N
335+ fabricType .setFont (fabricType . getFont (). deriveFont (( float ) 16 ));
336336 fabricType .setText ("Fabric Install" );
337337 fabricType .setToolTipText ("This installs Iris and Sodium alongside an installation of Fabric." );
338338 fabricType .addMouseListener (new java .awt .event .MouseAdapter () {
@@ -364,15 +364,15 @@ public void itemStateChanged(java.awt.event.ItemEvent evt) {
364364 gridBagConstraints .insets = new java .awt .Insets (6 , 0 , 0 , 0 );
365365 getContentPane ().add (gameVersionList , gridBagConstraints );
366366
367- betaSelection .setFont (new java . awt . Font ( "Arial" , 0 , 16 )); // NOI18N
367+ betaSelection .setFont (betaSelection . getFont (). deriveFont (( float ) 16 ));
368368 betaSelection .setText ("Use beta version (not recommended)" );
369369 gridBagConstraints = new java .awt .GridBagConstraints ();
370370 gridBagConstraints .gridx = 1 ;
371371 gridBagConstraints .gridy = 3 ;
372372 gridBagConstraints .insets = new java .awt .Insets (6 , 0 , 0 , 0 );
373373 getContentPane ().add (betaSelection , gridBagConstraints );
374374
375- directoryName .setFont (new java . awt . Font ( "Arial" , 0 , 16 )); // NOI18N
375+ directoryName .setFont (directoryName . getFont (). deriveFont (( float ) 16 ));
376376 directoryName .setLabel ("Directory Name" );
377377 directoryName .setMaximumSize (new java .awt .Dimension (300 , 36 ));
378378 directoryName .setMinimumSize (new java .awt .Dimension (300 , 36 ));
@@ -388,7 +388,7 @@ public void mouseClicked(java.awt.event.MouseEvent evt) {
388388 gridBagConstraints .insets = new java .awt .Insets (6 , 0 , 0 , 0 );
389389 getContentPane ().add (directoryName , gridBagConstraints );
390390
391- progressBar .setFont (new java . awt . Font ( "Arial" , 0 , 16 )); // NOI18N
391+ progressBar .setFont (progressBar . getFont (). deriveFont (( float ) 16 ));
392392 progressBar .setAlignmentX (0.0F );
393393 progressBar .setAlignmentY (0.0F );
394394 progressBar .setMaximumSize (new java .awt .Dimension (380 , 25 ));
@@ -400,7 +400,7 @@ public void mouseClicked(java.awt.event.MouseEvent evt) {
400400 gridBagConstraints .insets = new java .awt .Insets (40 , 0 , 0 , 0 );
401401 getContentPane ().add (progressBar , gridBagConstraints );
402402
403- installButton .setFont (new java . awt . Font ( "Arial" , 0 , 16 )); // NOI18N
403+ installButton .setFont (installButton . getFont (). deriveFont (( float ) 16 ));
404404 installButton .setText ("Install" );
405405 installButton .setToolTipText ("" );
406406 installButton .setMargin (new java .awt .Insets (15 , 60 , 15 , 60 ));
0 commit comments