Package org.openoffice.setup.PanelHelper

Examples of org.openoffice.setup.PanelHelper.PanelLabel


            Box contentBoxSolarisUser = new Box(BoxLayout.Y_AXIS);
           
            JPanel titlePanel = new JPanel();
            String subtitleTextRootdir = ResourceManager.getString("String_ChooseDirectory6");
            PanelLabel subTitleLabel = new PanelLabel(subtitleTextRootdir);
            titlePanel.setLayout(new FlowLayout(FlowLayout.LEFT, 0, 0));
            titlePanel.add(subTitleLabel);
           
            contentBoxSolarisUser.add(titlePanel);
            contentBoxSolarisUser.add(contentBoxSolarisUser.createVerticalStrut(10));
          
            JPanel contentPanelRootdir = new JPanel();
            contentPanelRootdir.setLayout(new GridBagLayout());
           
            directoryChooserRootdir = new JFileChooser();
            directoryChooserRootdir.setFileSelectionMode(JFileChooser.DIRECTORIES_ONLY);
           
            String browseTextRootdir = ResourceManager.getString("String_ChooseDirectory3");
            directoryButtonRootdir = new JButton(browseTextRootdir);
            directoryButtonRootdir.addActionListener(this);
           
            directoryFieldRootdir = new JTextField();
           
            GridBagConstraints constraintsRootdir = new GridBagConstraints();
           
            constraintsRootdir.gridx = 0;
            constraintsRootdir.gridy = 0;
            constraintsRootdir.weightx = 1;
            constraintsRootdir.weighty = 0;
            constraintsRootdir.fill = GridBagConstraints.HORIZONTAL;
           
            contentPanelRootdir.add(directoryFieldRootdir, constraintsRootdir);
           
            constraintsRootdir.gridx = 1;
            constraintsRootdir.gridy = 0;
            constraintsRootdir.weightx = 0;
            constraintsRootdir.weighty = 0;
            constraintsRootdir.fill = GridBagConstraints.HORIZONTAL;
           
            contentPanelRootdir.add(directoryButtonRootdir, constraintsRootdir);
           
            constraintsRootdir.gridx = 0;
            constraintsRootdir.gridy = 1;
            constraintsRootdir.weightx = 0;
            constraintsRootdir.weighty = 1;
            constraintsRootdir.fill = GridBagConstraints.VERTICAL;
           
            contentPanelRootdir.add(new JPanel(), constraintsRootdir);
           
            contentBoxSolarisUser.add(contentPanelRootdir);
           
            contentBox.add(contentBoxSolarisUser);
        }

        // defining a place for text output
        databaseProgress = new PanelLabel(""); // planned for database progress
        contentBox.add(databaseProgress);
       
        add(contentBox, BorderLayout.CENTER);
    }
View Full Code Here


        JPanel DescriptionPanel = new JPanel();
        DescriptionPanel.setBorder(PanelBorder);
        DescriptionPanel.setLayout(PanelLayout);
       
        String DescriptionText = "";
        descriptionLabel = new PanelLabel(DescriptionText, 3, 20);       
        sizeString = ResourceManager.getString("String_ChooseComponents4");
        sizeLabel = new PanelLabel(sizeString, 1, 5);
       
        DescriptionPanel.add(descriptionLabel, BorderLayout.CENTER);
        DescriptionPanel.add(sizeLabel, BorderLayout.EAST);
       
        add(new JScrollPane(componentTree), BorderLayout.CENTER);
View Full Code Here

       
        JPanel toppanel = new JPanel();
        toppanel.setLayout(new java.awt.BorderLayout());
        toppanel.setBorder(new EmptyBorder(new Insets(50, 50, 50, 50)));

        PanelLabel label1 = new PanelLabel(text2);       
        toppanel.add(label1, BorderLayout.NORTH);

        Container contentPane = this.getContentPane();
        contentPane.add(toppanel);
        // this.getContentPane().add(toppanel, BorderLayout.CENTER);
View Full Code Here

        JPanel contentpanel = new JPanel();
        contentpanel.setLayout(new java.awt.BorderLayout());
      
        String text1 = ResourceManager.getString("String_AcceptLicense2");
        PanelLabel label1 = new PanelLabel(text1);
       
        String text2 = ResourceManager.getString("String_AcceptLicense3");
        PanelLabel label2 = new PanelLabel(text2, true);

        JEditorPane editorPane = createEditorPane();
        JScrollPane editorScrollPane = new JScrollPane(editorPane);
       
        editorScrollPane.setPreferredSize(new Dimension(250, 145));
View Full Code Here

      
        JPanel contentpanel = new JPanel();
        contentpanel.setLayout(new java.awt.BorderLayout());
      
        String text1 = ResourceManager.getString("String_UninstallationImminent2");
        PanelLabel label1 = new PanelLabel(text1);
          
        ProductInformation = new JEditorPane("text/html", getInfoText());
        ProductInformation.setEditable(false);
       
        ProductPane = new JScrollPane(ProductInformation);
View Full Code Here

        Container contentbox = Box.createVerticalBox();

        // String progressText = ResourceManager.getString("String_UninstallationOngoing2");
        String progressText = "";
        currentProgress = new PanelLabel(progressText);

        Container innerbox = Box.createHorizontalBox();

        progressBar = new JProgressBar(0, 100);
        mStopButton = new JButton();
View Full Code Here

        JPanel contentPanel = new JPanel();
        contentPanel.setLayout(new java.awt.BorderLayout());
       
        String text1 = ResourceManager.getString("String_Prologue2");
        PanelLabel label1 = new PanelLabel(text1, true);
        String text2 = ResourceManager.getString("String_Prologue3");
        PanelLabel label2 = new PanelLabel(text2);
        contentPanel.add(label1, BorderLayout.NORTH);
        contentPanel.add(label2, BorderLayout.CENTER)

        InstallData data = InstallData.getInstance();
       
        if ( data.isUserInstallation() ) {
            String text3 = ResourceManager.getString("String_Prologue4");
            PanelLabel label3 = new PanelLabel(text3, true);
            contentPanel.add(label3, BorderLayout.SOUTH)
        }
       
        add(contentPanel, BorderLayout.CENTER);     
    }
View Full Code Here

      
        JPanel contentpanel = new JPanel();
        contentpanel.setLayout(new java.awt.BorderLayout());
      
        String text1 = ResourceManager.getString("String_InstallationImminent2");
        PanelLabel label1 = new PanelLabel(text1);
          
        ProductInformation = new JEditorPane("text/html", getInfoText());
        ProductInformation.setEditable(false);
      
        ProductPane = new JScrollPane(ProductInformation);
View Full Code Here

        Container contentbox = Box.createVerticalBox();

        // String progressText = ResourceManager.getString("String_InstallationOngoing2");
        String progressText = "";
        currentProgress = new PanelLabel(progressText);

        Container innerbox = Box.createHorizontalBox();

        progressBar = new JProgressBar(0, 100);
        mStopButton = new JButton();
View Full Code Here

        
        JPanel contentPanel = new JPanel();
        contentPanel.setLayout(new java.awt.BorderLayout());
       
        String text1 = ResourceManager.getString("String_UninstallationPrologue2");
        PanelLabel label1 = new PanelLabel(text1, true);
        String text2 = ResourceManager.getString("String_Prologue3");
        PanelLabel label2 = new PanelLabel(text2);
        contentPanel.add(label1, BorderLayout.NORTH);
        contentPanel.add(label2, BorderLayout.CENTER)
       
        add(contentPanel, BorderLayout.CENTER);     
View Full Code Here

TOP

Related Classes of org.openoffice.setup.PanelHelper.PanelLabel

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.