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 44539 - [L&F] Wizards of classes - changing its size when name too long
Summary: [L&F] Wizards of classes - changing its size when name too long
Status: CLOSED WORKSFORME
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 4.x
Hardware: PC Windows XP
: P4 blocker (vote)
Assignee: Jiri Rechtacek
URL:
Keywords: JDK_SPECIFIC, UI
Depends on:
Blocks:
 
Reported: 2004-06-08 15:52 UTC by zikmund
Modified: 2011-06-09 09:51 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
ShortName (41.00 KB, image/jpeg)
2004-06-23 15:42 UTC, zikmund
Details
LongName (40.93 KB, image/jpeg)
2004-06-23 15:43 UTC, zikmund
Details

Note You need to log in before you can comment on or make changes to this bug.
Description zikmund 2004-06-08 15:52:07 UTC
Build 200406080606

1) Invoke any Class wizard (e.g. Java Class).
2) Type the class name to have "Created File"
longer than the edit box width.
3) ERROR:
There are 2 differents views of top page part
which height differs in several pixels - depends
on the case if the "Created File" text is longer
than the its edit box width.

Notice: Similar thing happens in all File wizards,
but the height is not changed, only the line
dividing top and bottom page parts changes its
look (no height change more than 1 pixel).

Setting to P2 because it affects wizards using
bottom part of page for additional components.
Comment 1 Jiri Rechtacek 2004-06-23 14:50:21 UTC
Sorry, I don't fully understand where is a problem. Improve issue's
description and attach a screenshot. Thanks.
Comment 2 zikmund 2004-06-23 15:41:42 UTC
1) Have a Java application "JavaApplication1" in directory
"D:\NetBeans" (or similar length names)
2) Invoke Java Class wizard
3) Type package "cz.mycompany.eshop.books"
4) Type class name "Book"
-- see screenshot #1 "ShortName" -- the text in "Created File" isn't
longer than the text field's width
5) Type class name "BookTranslationForm"
-- see screenshot #2 "LongName" -- the text in "Created File" is
longer than the text field's width
ERROR:
As you can see, the text fields are of less height and closer to each
other than in case (4). The top wizard's panel is about 10-15 pixels
shorter.

Notice: It has been already fixed in WebApps wizards - decreasing to
P3 is OK then.
Comment 3 zikmund 2004-06-23 15:42:58 UTC
Created attachment 15958 [details]
ShortName
Comment 4 zikmund 2004-06-23 15:43:24 UTC
Created attachment 15959 [details]
LongName
Comment 5 Jiri Rechtacek 2004-06-23 15:54:31 UTC
Ok, Thanks for screenshots. I cannot see it on linux/metal
l&f/jdk1.4.2. Which jdk and are you using?
Comment 6 zikmund 2004-06-24 08:33:27 UTC
Java: 1.5.0-beta3-b56 (WinXP - XP L&F)
Comment 7 Jiri Rechtacek 2004-06-29 17:08:20 UTC
It's L&F specific, not reproducible on other L&F except WinXP L&F. The
user impact is minor => decrease the priority to P4.
Comment 8 ehucka 2005-01-11 13:02:50 UTC
old target milestone, please re-evaluate
Comment 9 Jiri Rechtacek 2005-02-03 15:56:21 UTC
It's still reproducible problem? If not please close. Thanks
Comment 10 Jiri Rechtacek 2005-04-26 15:26:25 UTC
No response for long time, closed as WORKSFORME.
Comment 11 Quality Engineering 2007-09-20 09:56:11 UTC
Reorganization of java component
Comment 12 Marian Mirilovic 2011-06-09 09:51:17 UTC
v/c