pmInstallScreen.java revision 62d717f5277d7b19b63db2d800310f877b57c197
/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License (the "License").
* You may not use this file except in compliance with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* See the License for the specific language governing permissions
* and limitations under the License.
*
* When distributing Covered Code, include this CDDL HEADER in each
* file and include the License file at usr/src/OPENSOLARIS.LICENSE.
* If applicable, add the following below this CDDL HEADER, with the
* fields enclosed by brackets "[]" replaced with your own identifying
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/*
*
* ident "%Z%%M% %I% %E% SMI"
*
* Copyright 2005 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*
*/
/*
* Screen for Installing/Modifying local and network printers
*/
public class pmInstallScreen extends pmButtonScreen {
public pmInstallScreen() {}
}
}
}
}
}
}
}
}
}
}
int i;
try {
} catch (Exception e) {
}
}
}
}
}
}
}
try {
} catch (Exception e) {
}
}
}
modelCombo = new JComboBox();
}
}
}
}
faultCombo = new JComboBox();
}
}
}
}
protocolCombo = new JComboBox();
}
}
}
}
c.gridy++;
bannerCombo = new JComboBox();
("Always.Print.Banner"));
("User.Selectable.Default.On"));
("Never.Print.Banner"));
}
}
public void northPanelConstraints(GridBagConstraints c) {
c.gridheight = 1;
c.gridwidth = 1;
}
public void labelConstraints(GridBagConstraints c) {
}
public void TextFieldConstraints(GridBagConstraints c) {
c.ipadx = 15;
// c.fill = GridBagConstraints.NONE;
}
public void comboboxConstraints(GridBagConstraints c) {
}
public void optionsConstraints(GridBagConstraints c) {
}
class ComboListener implements ActionListener {
int activeCombo;
// Constructor
public ComboListener(int aCombo)
{
}
public void actionPerformed(ActionEvent e) {
switch (activeCombo)
{
break;
break;
break;
break;
break;
}
}
}
public void actionportCombo() {}
public void actiontypeCombo() {}
public void actionmakeCombo() {}
public void actionmodelCombo() {}
public void actionppdCombo() {}
class adddelButtonListener implements ActionListener
{
int activeButton;
public adddelButtonListener(int aButton)
{
}
public void actionPerformed(ActionEvent e) {
switch (activeButton)
{
break;
break;
}
}
}
public void actionaddButton() {}
public void actiondeleteButton() {}
}
public void adButtons(GridBagConstraints c) {
}
public void xxcenterPanel() {
GridBagConstraints c = new GridBagConstraints();
// Create the label
c.gridx = 0;
c.gridy = 0;
// Create the User Access List as JList
c.gridwidth = 2;
c.gridx = 1;
// Create the text field for adding users
c.gridx = 1;
c.gridy = 1;
c.ipadx = 15;
c.gridx = 1;
c.gridy = 2;
c.gridwidth = 1;
c.gridx = 2;
}
}