Package com.alee.extended.image

Examples of com.alee.extended.image.WebImage


     *
     * @return java version panel
     */
    private WebPanel createJavaVersionPanel ()
    {
        final WebImage javaIcon = new WebImage ( new ImageIcon ( LibraryInfoDialog.class.getResource ( "icons/java.png" ) ) );

        final WebLinkLabel javaVersion = new WebLinkLabel ();
        javaVersion.setLanguage ( "weblaf.info.general.java.version", SystemUtils.getJavaVersionString () );
        javaVersion.setLink ( "http://www.oracle.com/technetwork/java/javase/overview/", false );
        SwingUtils.setBoldFont ( javaVersion );
View Full Code Here


     *
     * @return operation system version panel
     */
    private WebPanel createOsVersionPanel ()
    {
        final WebImage osIcon = new WebImage ( SystemUtils.getOsIcon ( 32, false ) );

        final WebLinkLabel version = new WebLinkLabel ( SystemUtils.getOsName () );
        version.setLink ( SystemUtils.getOsSite (), false );
        SwingUtils.setBoldFont ( version );

View Full Code Here

         */
        @Override
        public void setValue ( final FileTreeNode value )
        {
            final File file = value.getFile ();
            editorComponent.setLeadingComponent ( new WebImage ( FileUtils.getFileIcon ( file ) ) );
            FileUtils.displayFileName ( editorComponent, file );
            super.setValue ( value );
        }
View Full Code Here

    /**
     * Initializes filter icon.
     */
    protected void initFilterIcon ()
    {
        filterIcon = new WebImage ( WebTreeFilterField.class, "icons/filter/settings.png" );
        filterIcon.setMargin ( 0, 2, 0, 2 );
        filterIcon.setCursor ( Cursor.getDefaultCursor () );
        filterIcon.addMouseListener ( new MouseAdapter ()
        {
            @Override
View Full Code Here

                editor.setDrawShade ( false );

                // Leading icon
                if ( autoUpdateLeadingIcon )
                {
                    editor.setLeadingComponent ( new WebImage ( label.getIcon () ) );
                }

                // Field side margin
                final int sm = sw + 1;
                final Insets margin = label.getInsets ();
View Full Code Here

    protected void installEyedropper ()
    {
        if ( eyedropperPicker == null )
        {
            // Eyedropper picker icon
            eyedropperPicker = new WebImage ( eyedropperIcon );
            //            eyedropperPicker.setMargin ( 0, 2, 0, 2 );

            // Eyedropper picker actions
            try
            {
View Full Code Here

TOP

Related Classes of com.alee.extended.image.WebImage

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.