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 94160 - Themes node does not have a "Add Theme JAR " action
Summary: Themes node does not have a "Add Theme JAR " action
Status: NEW
Alias: None
Product: obsolete
Classification: Unclassified
Component: visualweb (show other bugs)
Version: 5.x
Hardware: All Windows XP
: P3 blocker (vote)
Assignee: Gregory Murphy
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-02 22:35 UTC by bugbridge
Modified: 2007-02-02 22:35 UTC (History)
1 user (show)

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 bugbridge 2007-02-02 22:35:34 UTC
The Setting Theme UI Spec calls for an "Add Theme Jar" action and error checking on 
the Theme node, and suggested a message for a non-identifiable theme jar:

             The selected JAR file does not contain a Theme. Choose a JAR file
             that is properly  formatted and contains theme information.


Currently there is no error checking attempting to add a new libary theme jar
via Tools->AddLibrary , Library Type theme libraries (or Class libraries for
that matter..)

- allows to add a named jar but no jar attached. The "empty" theme will be
  added to the project themes node. Attempting to switch to this  
  theme via context menu "Set As Current Theme" will work so far as 
  the Information dialog sent to designer (to restart server, clean & build, etc.)
  but after OK'ing that dialog we immediately get a Red Component Error. 
  (see exception listing below).
- same happens for adding a bogus jar without any theme
 

If we implement the action on the project themes node we can avoid the Component 
error, and exception to the designer screen.