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 76095 - Unable to switch back to Form Editing
Summary: Unable to switch back to Form Editing
Status: RESOLVED WONTFIX
Alias: None
Product: ide
Classification: Unclassified
Component: BlueJ (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Milos Kleint
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-09 12:55 UTC by Jaromir Uhrik
Modified: 2006-05-31 08:49 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 Jaromir Uhrik 2006-05-09 12:55:55 UTC
[NetBeans BlueJ build #200601251500]
Steps to reproduce:
1.Create BlueJ or J2SE project
2.Create JFrame form
3.Push "Source" button (in Form toolbar) to switch view from Form view to Source
code view
4.The Form toolbar disappears so that it is not possible to switch back to Form
view. It is even not possible through popup menu on JFrame (in Projects view) -
there are actions Open and Edit but both of them open the source editor.
Comment 1 Jaromir Uhrik 2006-05-09 13:15:09 UTC
Open & Edit actions work fine in BlueJ project but not in J2SE project.
Comment 2 Milos Kleint 2006-05-10 10:57:14 UTC
Jaro, this is default Netbeans behaviour for situations where the source toolbar
is hidden. it's a bit controversial and bugs have been filed for and against it.
In bluej edition it was decided to limit the number of UI elements, thus we
disabled the editor toolbar as well.

The way to get back to form is either via shortcut, main menu, or enabling the
editor toolbar.
Comment 3 Jaromir Uhrik 2006-05-10 12:33:21 UTC
Milosi, you probably didn't catch the main problem. Here it is:
Create J2SE project and create new JFrame form in this project. In Form editor
there is Source view button to see source - just push it. Now it is not possible
to see GUI designer of this frame (I don't know the way how to display the Form
Editor view for this form. Both Open & Edit actions in projects view open the
form in source editor but not in form designer).
Comment 4 Milos Kleint 2006-05-10 15:50:02 UTC
confirmed. Doing the same in bluej project works fine.. strange
Comment 5 Milos Kleint 2006-05-31 08:14:29 UTC
additionally it also works in j2se projects when the form was created beforehand
and was just opened. having it created seems to be the problem.
Comment 6 Milos Kleint 2006-05-31 08:49:03 UTC
actually I just tried in netbeans 5.0 and the problem appears there as well. So
it's not related to the bluej edition and since we are building on top of 5.0
binaries, there's no way to fix/workaround the problem. closing as wontfix.