Package net.xoetrope.xui.helper

Examples of net.xoetrope.xui.helper.XTranslator.translate()


  }

  public void setAppTitle( String title )
  {
    XTranslator translator = currentProject.getTranslator();
    setTitle( translator.translate( title ));
  }

  /**
   * Set the application icon
   * @param img the image name
View Full Code Here


      colors[ 3 ] = xstyleActive.getStyleAsColor( XStyle.COLOR_FORE );
    }
   
    // Setup the tooltips
    String[] tooltips = new String[ 3 ];
    tooltips[ 0 ] = ( translator != null ? translator.translate( "Minimize" ) : "Minimize" );
    tooltips[ 1 ] = ( translator != null ? translator.translate( "Zoom/Restore" ) : "Zoom/Restore" );
    tooltips[ 2 ] = ( translator != null ? translator.translate( "Close" ) : "Close" );
   
    super.addDockable( dockable, colors, tooltips );
    if ( doReplace ) {
View Full Code Here

    }
   
    // Setup the tooltips
    String[] tooltips = new String[ 3 ];
    tooltips[ 0 ] = ( translator != null ? translator.translate( "Minimize" ) : "Minimize" );
    tooltips[ 1 ] = ( translator != null ? translator.translate( "Zoom/Restore" ) : "Zoom/Restore" );
    tooltips[ 2 ] = ( translator != null ? translator.translate( "Close" ) : "Close" );
   
    super.addDockable( dockable, colors, tooltips );
    if ( doReplace ) {
      if ( contentPane.getComponentCount() > ) {
View Full Code Here

   
    // Setup the tooltips
    String[] tooltips = new String[ 3 ];
    tooltips[ 0 ] = ( translator != null ? translator.translate( "Minimize" ) : "Minimize" );
    tooltips[ 1 ] = ( translator != null ? translator.translate( "Zoom/Restore" ) : "Zoom/Restore" );
    tooltips[ 2 ] = ( translator != null ? translator.translate( "Close" ) : "Close" );
   
    super.addDockable( dockable, colors, tooltips );
    if ( doReplace ) {
      if ( contentPane.getComponentCount() > ) {
        XDockable docked = findDockable( contentPane.getComponent( 0 ));
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.