Package net.sourceforge.marathon.mpf

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


    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

Related Classes of net.sourceforge.marathon.mpf.BannerPanel

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.