Package net.sf.mzmine.util.components

Examples of net.sf.mzmine.util.components.MultiLineLabel


      }
      newComponent = new Structure2DComponent(structure2D);
    } catch (Exception e) {
      String errorMessage = "Could not load 2D structure\n"
          + "Exception: " + ExceptionUtils.exceptionToString(e);
      newComponent = new MultiLineLabel(errorMessage);
    }
    splitPane.setLeftComponent(newComponent);
    splitPane.setDividerLocation(500);
  }
View Full Code Here


      new3DComponent.loadStructure(structure3D);

    } catch (Exception e) {
      String errorMessage = "Could not load 3D structure\n"
          + "Exception: " + ExceptionUtils.exceptionToString(e);
      MultiLineLabel label = new MultiLineLabel(errorMessage, 10);
      splitPane.setRightComponent(label);
      splitPane.setDividerLocation(500);
    }

  }
View Full Code Here

TOP

Related Classes of net.sf.mzmine.util.components.MultiLineLabel

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.