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 77679 - New Java Class File Dialog stays open
Summary: New Java Class File Dialog stays open
Status: RESOLVED DUPLICATE of bug 105641
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 5.x
Hardware: Macintosh (x86) Mac OS X
: P3 blocker (vote)
Assignee: Milos Kleint
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-10 14:22 UTC by luponero
Modified: 2008-12-22 12:18 UTC (History)
1 user (show)

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 luponero 2006-06-10 14:22:57 UTC
Just got a new intel Mac and tried to start a new project.

I searched the issue lists and forums and google, but found nothing.
If this is a duplicate I apologize.

Steps I took to reproduce:

1 - close the welcome screen
2 - Create the project
      a - file->new project
      b - general -> java class library 
            next
      c - Name - JavaLibrary2
           location - /Users/angelog/DevProjects
           folder - /Users/angelog/DevProjects/JavaLibrary2
           Finish
3 - Create new class file
      a - File -> New File
      b - Java Classes -> Java Class
            Next
      c - Name - NewClass
            Project - JavaLibrary2
            Location - Source Packages
            Package - NewPackage
            Created File - /Users/angelog/DevProjects/JavaLibrary2/src/NewPackage/NewClass.java
            Finish

Here the buttons at the bottom of the dialog are disabled
Focus gets set to the Class Name field
the file is created on the file system and there is the usual starting contents for a java file

The Maximize button in the titlebar is still enabled and it works.
The Close button in the title bar is enabled and it works, but if it is pressed and the package did not 
already exist the file & package are removved from the filesystem.

I can reproduce the problem.


Note that it also occurs for:
 -  Java Interface
 - JPanel Form
 - JFrame Form
 
it does not occur for
 - Empty Java File
 - Empty File
 - Java Package

If there is anything I can do to help with debugging, feel free to contact me at javanetbeans.
10.angelog@spamgourmet.com or at the email address associated with my account.

Netbeans is really a great product by the way.
Comment 1 David Simonek 2006-08-07 17:37:58 UTC
Milos please evaluate for me, thanks.
Comment 2 Milos Kleint 2006-10-19 09:46:06 UTC
is your scenario reproducible or a one time event?
can you resize the document?
please create a thread dump, attach it to the bug report, also attach the
~/.netbeans/var/log/messages.log file that could contain some debugging
information..
a screenshot might also help..

Comment 3 Marian Mirilovic 2007-06-05 08:48:27 UTC
Closing as duplicate of newer one with more data ...

*** This issue has been marked as a duplicate of 105641 ***