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 193944

Summary: Find URL from an Image
Product: platform Reporter: Jaroslav Tulach <jtulach>
Component: -- Other --Assignee: Jaroslav Tulach <jtulach>
Status: RESOLVED FIXED    
Severity: normal CC: apireviews
Priority: P1 Keywords: API_REVIEW_FAST
Version: 6.x   
Hardware: PC   
OS: Linux   
Issue Type: ENHANCEMENT Exception Reporter:
Bug Depends on:    
Bug Blocks: 183778    
Attachments: Image getProperty("url", null)

Description Jaroslav Tulach 2010-12-30 16:40:59 UTC
Most of images used inside the NetBeans Platform application have associated URL as they come directly from JARs. Here is a proposal for an API to allow one to obtain the URL when having just the Image object.
Comment 1 Jaroslav Tulach 2010-12-30 16:54:09 UTC
Created attachment 104634 [details]
Image getProperty("url", null)
Comment 2 Jaroslav Tulach 2010-12-30 16:58:22 UTC
This changes is needed for bug 183778. In that patch, I need to display an image inside an HtmlBrowser. The browser works with URLs, the API works with Images. With this improvement they can cooperate nicely.
Comment 3 Jaroslav Tulach 2011-01-07 10:00:17 UTC
I'll integrate on Monday.
Comment 4 Jaroslav Tulach 2011-01-09 08:23:33 UTC
ergonomics#c47d80b38a0c
Comment 5 Quality Engineering 2011-01-11 06:09:44 UTC
Integrated into 'main-golden', will be available in build *201101110000* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/c47d80b38a0c
User: Jaroslav Tulach <jtulach@netbeans.org>
Log: #193944: Ability to find URL from an Image