Bug 1340 - Vecmath uses import java.awt.Color which is poor design
Summary: Vecmath uses import java.awt.Color which is poor design
Status: UNCONFIRMED
Alias: None
Product: Java3D
Classification: Unclassified
Component: core (show other bugs)
Version: tbd
Hardware: All all
: P4 normal
Assignee: Phil Jordan
URL:
Depends on:
Blocks:
 
Reported: 2016-11-05 05:50 CET by Phil Jordan
Modified: 2016-11-05 05:51 CET (History)
1 user (show)

See Also:
Type: FEATURE
SCM Refs:
Workaround: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Phil Jordan 2016-11-05 05:50:51 CET
vecmath uses 
import java.awt.Color;
in classes Color3/4 f/b  
This ties it to awt but the usage of the import is trivial
public final Color get()
public final void set(Color color) 

This can be  easily replaced


Otherthan this in the entire porject the only import statement are in VecMathI18N 
import java.util.MissingResourceException;
import java.util.ResourceBundle;
which seems reasonable.