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 16756

Summary: Focus not reliably taken in output window
Product: cnd Reporter: Jesse Glick <jglick>
Component: TerminalemulatorAssignee: akemr <akemr>
Status: CLOSED DUPLICATE    
Severity: blocker CC: dsimonek, issues
Priority: P3    
Version: 3.x   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:

Description Jesse Glick 2001-10-19 14:23:48 UTC
[dev oct 18 MDI] The Ant module gets output tabs and calls
setFocusTaken(true). It is supposed to ensure that any output
automatically fronts the tab, and I believe it used to work. But
currently it does not work reliably, I often have some other output
tab (e.g. from execution) selected, and run an Ant script, and the
script runs correctly but the tab is not switched to its output. (The
output is correctly generated, if you switch to look at it.)
Comment 1 Milan Kubec 2001-10-19 14:31:04 UTC
Isn't it duplicate of #16720?
Comment 2 akemr 2001-10-19 14:50:46 UTC
I think it is. setFocusTaken() method was used only for old input 
text field in old OW.
To set focus you should use io.select()

*** This issue has been marked as a duplicate of 16720 ***
Comment 3 Quality Engineering 2003-07-01 15:47:41 UTC
Resolved for 3.4.x or earlier, no new info since then -> verified.

Comment 4 Quality Engineering 2003-07-01 16:36:31 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.
Comment 5 Quality Engineering 2008-12-23 08:26:45 UTC
moving terminal emulator issues to terminalemulator component.
To see the correct version and target milestone of this issue look at Issue
Activity table.