Please use the Apache issue tracking system for new NetBeans issues ( !!
Bug 208038 - Opening a file assocciated with NB7.1 does not open file
Opening a file assocciated with NB7.1 does not open file
Status: NEW
Product: utilities
Classification: Unclassified
Component: Open File
Macintosh Mac OS X
: P3 with 1 vote (vote)
Assigned To: Jaroslav Havlin
: 222296 244146 (view as bug list)
Depends on:
  Show dependency treegraph
Reported: 2012-02-03 08:47 UTC by markuszeller
Modified: 2014-05-28 05:19 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT

Patch - registering ApplicationListener (7.64 KB, patch)
2012-04-04 15:10 UTC, Jaroslav Havlin
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description markuszeller 2012-02-03 08:47:05 UTC
When I assocciate some files with NB like .js or .php to have NB my favourite text editor, doubleclick them, then NB opens or comes to front as excpected. But, the "opened" file is not open in NB. When I drag it in then it works fine.

Product Version = NetBeans IDE 7.1 (Build 201201101530)
Operating System = Mac OS X version 10.7.2 running on x86_64
Java; VM; Vendor = 1.6.0_29
Runtime = Java HotSpot(TM) 64-Bit Server VM 20.4-b02-402
Comment 1 Jaroslav Havlin 2012-04-04 15:10:58 UTC
Created attachment 117820 [details]
Patch - registering ApplicationListener

Patch that registers, but handleOpenFile is never called.
Comment 2 Jiri Rechtacek 2012-05-25 16:32:33 UTC
The patch works just in partly. Once applied I can associate a extension with NetBeans IDE and then it opens the IDE on open action on the file and then opens it in editor area. But it doesn't work if IDE is currently running. In that case it only pops IDE in the front and doesn't open anything.
Comment 3 Jaroslav Havlin 2012-11-19 08:04:37 UTC
*** Bug 222296 has been marked as a duplicate of this bug. ***
Comment 4 Jaroslav Havlin 2014-05-28 05:19:00 UTC
*** Bug 244146 has been marked as a duplicate of this bug. ***

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo