Examples of BannerPanel


Examples of com.openzoeos.dialog.BannerPanel

        txt.setEditable(false);
        txt.setLineWrap(true);
        txt.setWrapStyleWord(true);
        txt.setBackground(getBackground());

        BannerPanel bp = new BannerPanel("About ZoeOS", "", new ImageIcon(ZoeosFrame.getInstance().getIconImage()));
        getContentPane().add(bp, BorderLayout.NORTH);
        getContentPane().add(txt, BorderLayout.CENTER);

        final JButton btOK = new JButton("OK");
        ActionListener lst = new ActionListener() {
View Full Code Here

Examples of net.sourceforge.marathon.mpf.BannerPanel

    private String selectedFixture;

    public FixtureSelectionDialog(JFrame parent, String[] fixtures, final String selectedFixture) {
        super(parent, "Select", true);
        setTitle("Marathon - Select Fixture");
        BannerPanel bannerPanel = new BannerPanel();
        String[] lines = { "Fixtures allows to customize the setup to be done for a test case",
                "Note that you need to create a new testcase for this fixture to be used", "for recording" };
        BannerPanel.Sheet sheet = new BannerPanel.Sheet("Select Fixture", lines);
        bannerPanel.addSheet(sheet, "main");
        getContentPane().add(bannerPanel, BorderLayout.NORTH);

        getContentPane().add(getFixturePanel(fixtures), BorderLayout.CENTER);
        this.selectedFixture = selectedFixture;
        fixtureList.setSelectedValue(selectedFixture, true);
View Full Code Here

Examples of net.sourceforge.marathon.mpf.BannerPanel

    public PreferencesDialog(JFrame parent) {
        super(parent, "Preferences", true);
        this.parent = parent;
        setTitle("Preferences");
        setModal(true);
        BannerPanel bannerPanel = new BannerPanel();
        String[] lines = { "Set marathon preferences" };
        BannerPanel.Sheet sheet = new BannerPanel.Sheet("Preferences", lines);
        bannerPanel.addSheet(sheet, "main");
        getContentPane().add(bannerPanel, BorderLayout.NORTH);
        getContentPane().add(getPreferencesPanel());
        cancelButton.addActionListener(new ActionListener() {
            public void actionPerformed(ActionEvent e) {
                needRefresh = false;
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.