swing_text_area.setForeground(Color.BLACK);
}
});
swt_panel.add(swt_radio_button, new GridBagConstraints(2, 0, 1, 1, 0.0, 0.0, GridBagConstraints.NORTHWEST, GridBagConstraints.HORIZONTAL, new Insets(0, 0, 0, 0), 0, 0));
swt_radio_button.setName("swt_radio_button");
swt_text_area = new JTextArea();
swt_text_area.setBackground(swt_panel.getBackground());
swt_text_area.setEditable(false);
swt_text_area.setText("Standard Widget Toolkit - is a native\nplatform independent user interface\nframework\nMore info on http://eclipse.org/swt");
swt_panel.add(swt_text_area, new GridBagConstraints(3, 0, 1, 1, 0.0, 0.0, GridBagConstraints.CENTER, GridBagConstraints.BOTH, new Insets(0, 0, 0, 0), 0, 0));
swing_panel = new JPanel();
GridBagLayout swing_panel_layout = new GridBagLayout();
swing_panel_layout.columnWidths = new int[] {16, 121, 96, 7};
swing_panel_layout.rowHeights = new int[] {7};
swing_panel_layout.columnWeights = new double[] {0.0, 0.0, 0.0, 0.1};
swing_panel_layout.rowWeights = new double[] {0.1};
this.add(swing_panel, new GridBagConstraints(0, 1, 1, 1, 0.0, 0.0, GridBagConstraints.CENTER, GridBagConstraints.BOTH, new Insets(20, 0, 20, 10), 0, 0));
swing_panel.setLayout(swing_panel_layout);
swing_logo_label = new JLabel();
swing_logo_label.setIcon(ImgRep.getIcon("wizard/java_logo.jpg"));
swing_logo_label.setOpaque(true);
swing_logo_label.setBackground(Color.WHITE);
swing_panel.add(swing_logo_label, new GridBagConstraints(1, 0, 1, 1, 0.0, 0.0, GridBagConstraints.CENTER, GridBagConstraints.BOTH, new Insets(0, 0, 0, 0), 0, 0));
swing_logo_label.setName("swing_logo_label");
swing_radio_button = new JRadioButton("SWING");
swing_radio_button.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent event) {
swt_panel.setBackground(new Color(238, 238, 238));
swing_panel.setBackground(Color.GRAY);
swt_radio_button.setBackground(new Color(238, 238, 238));
swing_radio_button.setBackground(Color.GRAY);
swt_text_area.setBackground(new Color(238, 238, 238));
swt_text_area.setForeground(Color.BLACK);
swing_text_area.setBackground(Color.GRAY);
swing_text_area.setForeground(Color.WHITE);
}
});
swing_panel.add(swing_radio_button, new GridBagConstraints(2, 0, 1, 1, 0.0, 0.0, GridBagConstraints.NORTHWEST, GridBagConstraints.HORIZONTAL, new Insets(0, 0, 0, 0), 0, 0));
swing_text_area = new JTextArea();
swing_text_area.setBackground(swing_panel.getBackground());
swing_text_area.setEditable(false);
swing_text_area.setText("Standard Java GUI provided by Sun\nMicrosystems. More info on\nhttp://en.wikipedia.org/wiki/Swing_(Java)");
swing_panel.add(swing_text_area, new GridBagConstraints(3, 0, 1, 1, 0.0, 0.0, GridBagConstraints.CENTER, GridBagConstraints.BOTH, new Insets(0, 0, 0, 0), 0, 0));
swing_text_area.setName("swing_text_area");