Package GUI.Interfaces

Examples of GUI.Interfaces.Background


    add(passwordField);
    add(loginName);
    add(connectionType);
    add(applyButton);
   
    Background background = new StandardBackground(false, rectangle, -1);
        add((Component) background);
        background.setBounds(0, 0, rectangle.width, rectangle.height);
   
    applyButton.addActionListener(new ActionListener(){

     
      public void actionPerformed(ActionEvent e) {
View Full Code Here


  public NotificationWindow(Rectangle rectangle, String text, Status status, NotificationListener listener) {

    message = text;
    setBounds(rectangle);
   
    Background background = new StandardBackground(false, rectangle, -1);
        add((Component) background);
        background.setBounds(0, 0, rectangle.width, rectangle.height);
       
    this.status = status;
    com.sun.awt.AWTUtilities.setWindowOpacity(this, 0.0f);
    notificationListener = listener;
View Full Code Here

            statusBar = new ImageBar(40, 100, 3, symbols, 35, 6, 25, 1, false);
            add(statusBar);
            statusBar.setBounds(10,10,40,100);
            statusBar.addImageBarListener(this);
           
              Background background = new StandardBackground(false, new Rectangle(x, y, width, height), -1);
              add((Component) background);
              background.setBounds(0, 0, width, height);     

              setVisible(true);
              com.sun.awt.AWTUtilities.setWindowOpacity(this, 0.75f);
          }     
View Full Code Here

TOP

Related Classes of GUI.Interfaces.Background

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.