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 5617 - Suggest that successful compilations print a brief message to the Compiler window.
Summary: Suggest that successful compilations print a brief message to the Compiler wi...
Status: CLOSED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: All All
: P4 normal (vote)
Assignee: issues@www
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2000-02-02 23:03 UTC by Jesse Glick
Modified: 2007-09-26 09:14 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Glick 2000-02-02 23:03:29 UTC
Several people have asked for this on EAP and seemed to like the IDE. I tried making a test patch to do it and it works OK, it seems harmless. The problem is that people do not always see the status
 bar in the Main Window and when compilation succeeds, only that status message is shown, which does not reassure them that it was OK. Printing a message in the Compiler window makes it clear, esp. fo
r new users, that the compilation finished. Also for very long compilations, if you e.g. open another file while the compile is running, the message Opening XXX.java... will appear and disappear, and
afterwards (if you were not watching carefully) it is not clear whether the compilation finished or is still going on.

For failed compiles, there is presumably some error message so this is not necessary.

Suggested patch: in CompilerDisplayer.java, change:

    MessageFormat msg = task.isSuccessful() ? compSuccess : compUnsuccess;
    setStatusText(msg.format (new Object[] { task.getDisplayName() }));

to:

    if (task.isSuccessful ()) {
      String msg = compSuccess.format (new Object[] { task.getDisplayName () });

      setStatusText (msg);
      println (msg);
    } else {
      setStatusText (compUnsuccess.format (new Object[] { task.getDisplayName () }));
    }
Comment 1 Jan Becicka 2002-01-11 08:09:10 UTC
This is an enhancement.
Comment 2 Jan Becicka 2002-01-11 08:10:07 UTC
Already implemented
Comment 3 Jan Becicka 2002-04-12 15:33:19 UTC
VERIFIED
Comment 4 Quality Engineering 2003-07-01 13:19:29 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.