This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
I've opened Ted example and there was font 'Tahoma 14 Plain' set for JMenuBar. But this font is not set in code and application starts with default font.
Looks like the known issue - form is designed in different look&feel than executed - then the default font "in the IDE" maz be different from the default font of the form running standalone. Is this the case?
*** Issue 40359 has been marked as a duplicate of this issue. ***
*** Issue 41315 has been marked as a duplicate of this issue. ***
The font is not set in the code because it is the defult JMenuBar font for the look and feel of the IDE. When you execute Ted it can happen that it uses a different look and feel and therefore a different default font. It would be nice to allow user to set the look and feel of the designed form, but this is not possible. UIManager (responsible for the current look and feel) has only static methods => the look and feel must be the same for the whole application (the form designer and the rest of the IDE).
*** Issue 53796 has been marked as a duplicate of this issue. ***
v/c
*** Issue 137919 has been marked as a duplicate of this issue. ***