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 162040 - Graphical previewer doesn't work
Summary: Graphical previewer doesn't work
Status: CLOSED WORKSFORME
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 5.x
Hardware: PC All
: P4 blocker (vote)
Assignee: issues@guibuilder
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-06 14:53 UTC by megadavve
Modified: 2009-04-14 15:47 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 megadavve 2009-04-06 14:53:12 UTC
The things you see in the graphical previewer and what you see when you run the developed program doesn't add up.
I have a jtextfield and some jbuttons placed in a jfram. When i run the program, I can only see half the textfield and a
small part of one of the buttons.
If I make the jfram one inch bigger and run the program again, all of the sudden there is 5 cm to big.

What is wrong?

Best Regards,
David
Comment 1 Jan Stola 2009-04-06 16:32:44 UTC
I am sorry, but your description is too general. Could you, please, attach a test-case. Thank you in advance.
Comment 2 megadavve 2009-04-09 10:18:08 UTC
Hi,

I have been able to solve it.
But it was very time consuming and hard work.
Since I solved it I have no testcase so send that shows the bug.
But in general, is the previewer considered as working?

Best Regards,
David
Comment 3 Jan Stola 2009-04-14 15:01:20 UTC
> But in general, is the previewer considered as working?

Yes, the standard preview (e.g. the one in the same look and feel as the NetBeans IDE itself) should be accurate (not 
considering additional code included in your application that GUI builder is unable to execute/evaluate). The preview 
in a different look and feel is approximate (due to limitations in Swing itself).
Comment 4 megadavve 2009-04-14 15:47:31 UTC
Ok, I will get back if I see this again.
And provide more information for you guys.

I guess we can close this Issue until then.

Thanks for the support.
David