Changeset 518


Ignore:
Timestamp:
09/30/05 17:06:40 (15 years ago)
Author:
curtis
Message:

Gray out 3D option if Java3D is unavailable.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/loci/visbio/help/HelpManager.java

    r465 r518  
    3232import loci.visbio.data.*; 
    3333import loci.visbio.state.*; 
    34 import loci.visbio.util.LAFUtil; 
    35 import loci.visbio.util.SwingUtil; 
     34import loci.visbio.util.*; 
    3635 
    3736/** HelpManager is the manager encapsulating VisBio's help window logic. */ 
     
    7675    boolean isData = data != null; 
    7776    boolean canDisplay2D = data != null && data.canDisplay2D(); 
    78     boolean canDisplay3D = data != null && data.canDisplay3D(); 
     77    boolean canDisplay3D = data != null && 
     78      data.canDisplay3D() && DisplayUtil.canDo3D(); 
    7979    boolean canDisplay = canDisplay2D || canDisplay3D; 
    8080 
Note: See TracChangeset for help on using the changeset viewer.