Index: Bundle.properties =================================================================== RCS file: /cvs/core/src/org/netbeans/core/Bundle.properties,v retrieving revision 1.363 diff -c -r1.363 Bundle.properties *** Bundle.properties 20 May 2003 21:20:47 -0000 1.363 --- Bundle.properties 30 May 2003 14:59:43 -0000 *************** *** 49,54 **** --- 49,57 ---- #NOI18N SplashShowProgressBar=true + #33546 Be able to set font size using bundle key + CTL_keyFontSize= + # x, y, w, h #NOI18N SplashRunningTextBounds=84, 138, 306, 20 Index: Main.java =================================================================== RCS file: /cvs/core/src/org/netbeans/core/Main.java,v retrieving revision 1.162 diff -c -r1.162 Main.java *** Main.java 14 May 2003 13:18:22 -0000 1.162 --- Main.java 30 May 2003 14:59:44 -0000 *************** *** 17,22 **** --- 17,23 ---- import java.awt.event.*; import java.beans.*; import java.io.*; + import java.util.MissingResourceException; import javax.swing.*; import javax.swing.border.*; *************** *** 152,157 **** --- 153,175 ---- ErrorManager.getDefault().notify(ErrorManager.INFORMATIONAL, e); } + //Bugfix #33546: If fontsize was not set from cammand line try to set it from bundle key + if (uiFontSize == 0) { + String key = ""; + try { + key = getString("CTL_keyFontSize"); + } catch (MissingResourceException mre) { + //Key not found, nothing to do + } + if (key.length() > 0) { + try { + uiFontSize = Integer.parseInt(key); + } catch (NumberFormatException exc) { + //Incorrect value, nothing to do + } + } + } + // Modify default font size to the font size passed as a command-line parameter if(uiFontSize>0) { //MUST use FontUIResource here, not java.awt.Font - hotfix for issue 32555,