Examples of changeAlpha()


Examples of com.jcloisterzone.ui.component.TextPrompt.changeAlpha()

        input.setOpaque(false);
        input.setBackground(new Color(255, 255, 255, 8));
        TextPrompt tp = new TextPrompt(_("Type to chat"), input);
        tp.setShow(Show.FOCUS_LOST);
        tp.changeStyle(Font.ITALIC);
        tp.changeAlpha(0.4f);

        messagesPane = new JTextPane();
        messagesPane.setEditorKit(new WrapEditorKit());
        messagesPane.setFocusable(false);
        messagesPane.setOpaque(false);
View Full Code Here

Examples of com.jcloisterzone.ui.component.TextPrompt.changeAlpha()

        JTextComponent editorComponent = (JTextComponent) presets.getEditor()
                .getEditorComponent();
        TextPrompt tp = new TextPrompt(_("Preset name"), editorComponent);
        tp.setShow(Show.FOCUS_LOST);
        tp.changeStyle(Font.ITALIC);
        tp.changeAlpha(0.4f);

        editorComponent.getDocument().addDocumentListener(
                new DocumentListener() {

                    private void handle(DocumentEvent e) {
View Full Code Here

Examples of net.sourceforge.marathon.util.TextPrompt.changeAlpha()

    public PythonPathPanel(JDialog parent) {
        super(parent, true);
        this.parent = parent;
        TextPrompt prompt = new TextPrompt("(Bundled Jython)", home);
        prompt.changeAlpha((float) 0.5);
    }

    public static final Icon _icon = new ImageIcon(PythonPathPanel.class.getClassLoader().getResource(
            "net/sourceforge/marathon/mpf/images/cp_obj.gif"));
View Full Code Here

Examples of net.sourceforge.marathon.util.TextPrompt.changeAlpha()

    private JTextField home = new JTextField();

    public RubyPathPanel(JDialog parent) {
        super(parent, true);
        TextPrompt prompt = new TextPrompt("(Bundled JRuby)", home);
        prompt.changeAlpha((float) 0.5);
    }

    public static final Icon _icon = new ImageIcon(RubyPathPanel.class.getClassLoader().getResource(
            "net/sourceforge/marathon/mpf/images/cp_obj.gif"));
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.