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.

Bug 116665 - [60cat] Value Field For font Property Does Not Change font Property
Summary: [60cat] Value Field For font Property Does Not Change font Property
Status: RESOLVED FIXED
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: Macintosh Mac OS X
: P3 blocker (vote)
Assignee: issues@guibuilder
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-25 12:50 UTC by rationalpi
Modified: 2007-09-27 17:39 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description rationalpi 2007-09-25 12:50:02 UTC
[ JDK VERSION : other ]

If you right click on a Swing component in Matisse that has a "font" property (like a JLabel) and select Properties it will allow you to type in the value field, but the value will not be applied to the "font" property. The Property editor should be modified to accurately parse out changes to the value field or the value field should not be editable. The current behavior is misleading. The user things that they can modify the value using this field, and then the changed value is not applied. Other properties, such as "text" or "alignmentX" allow the property to be edited in this field and the changed value is actually applied to the Swing component.

Steps to Reproduce
---------------------
Create a New Java Application
Select File  -> New File
Select Swing GUI Forms -> JFrame Form
Drag a JLabel onto the form
Right-click on the JLabel and select Properties
Modify the value next to the font property
Click the Close button
The value is not applied to the font property

Tester Platform
---------------
Mac OS X 10.4.9
$ java -version
java version "1.6.0-dp"
Java(TM) SE Runtime Environment (build 1.6.0-dp-b88-34)
Java HotSpot(TM) Client VM (build 1.6.0-b88-17-release, mixed mode, sharing)
Comment 1 Antonin Nebuzelsky 2007-09-25 16:34:37 UTC
Reporter, please, don't user core category as a general purpose category. This issue is obviously a form category issue.
Reassigning.
Comment 2 Tomas Pavek 2007-09-27 17:39:45 UTC
Fixed - editing font as text disabled in form editor.

/cvs/form/src/org/netbeans/modules/form/editors2/FontEditor.java
new revision: 1.10; previous revision: 1.9