• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

WHAT'S WRONG WITH MY CODE

 
ranger
Posts: 17347
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

package suncertify.client;

import java.awt.GridBagLayout;
import java.awt.GridBagConstraints;

/**
* This final class helps in constucting GridBagConstraints. It has default values for the constraints, and has methods
* that allows maximum values supplied, or just change the Fill or Anchor only.
*
* This is mainly a helper class for the gui. More methods could have been added to support any changes, however,
* only those that are really needed in this client are created.
*
* @version 1.0 18-Oct-2001
*/
public final class GridBagHelper{

private static GridBagConstraints constraint = new GridBagConstraints();

{ // static initializer of the constaints default values for the app
constraint.weightx = 5;
constraint.weighty = 5;
constraint.anchor = GridBagConstraints.WEST;
constraint.ipadx = 15;
constraint.ipady = 15;
}
/**
* By making this constructor Private, it disallows someone from creating an instance of this class, which should
* not be necessary since all the methods are static.
*/
private void GridBagHelper(){
}
/**
* This method changes the static member constraint, and returns the constraint.
* Fill is not changed in this overloaded version of the method
*
* @param int gridPositionX
* @param int gridPositionY
* @param int width
* @param int height
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints makeConstraint(int gridPositionX, int gridPositionY, int width, int height, int anchor){
constraint.gridx = gridPositionX;
constraint.gridy = gridPositionY
constraint.gridheight = height;
constraint.gridwidth = width;
constraint.anchor = anchor;
return constraint;
}
/**
* This method changes the static member constraint, and returns the constraint.
* @param int gridPositionX
* @param int gridPositionY
* @param int width
* @param int height
* @param int fill
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints makeConstraint(int gridPositionX, int gridPositionY, int width, int height, int fill, int anchor){
constraint.gridx = gridPositionX;
constraint.gridy = gridPositionY;
constraint.gridheight = height;
constraint.gridwidth = width;
constraint.fill = fill;
constraint.anchor = anchor;
return constraint;
}
/**
* This method only changes the fill value of the static member constraint, and returns the constraint.
* @param int fill
* @return GridBagConstraints
*/
public static GridBagConstraints changeFill(int fill){
constraint.fill = fill;
return constraint;
}
/**
* This method only changes the anchor value of the static member constraint, and returns the constraint.
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints changeAnchor(int anchor){
constraint.anchor = anchor;
return constraint;
}
}
package suncertify.client;

import java.awt.GridBagLayout;
import java.awt.GridBagConstraints;

/**
* This final class helps in constucting GridBagConstraints. It has default values for the constraints, and has methods
* that allows maximum values supplied, or just change the Fill or Anchor only.
*
* This is mainly a helper class for the gui. More methods could have been added to support any changes, however,
* only those that are really needed in this client are created.
*
* @version 1.0 18-Oct-2001
*/
public final class GridBagHelper{

private static GridBagConstraints constraint = new GridBagConstraints();

{ // static initializer of the constaints default values for the app
constraint.weightx = 5;
constraint.weighty = 5;
constraint.anchor = GridBagConstraints.WEST;
constraint.ipadx = 15;
constraint.ipady = 15;
}
/**
* By making this constructor Private, it disallows someone from creating an instance of this class, which should
* not be necessary since all the methods are static.
*/
private void GridBagHelper(){
}
/**
* This method changes the static member constraint, and returns the constraint.
* Fill is not changed in this overloaded version of the method
*
* @param int gridPositionX
* @param int gridPositionY
* @param int width
* @param int height
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints makeConstraint(int gridPositionX, int gridPositionY, int width, int height, int anchor){
constraint.gridx = gridPositionX;
constraint.gridy = gridPositionY;
constraint.gridheight = height;
constraint.gridwidth = width;
constraint.anchor = anchor;
return constraint;
}
/**
* This method changes the static member constraint, and returns the constraint.
* @param int gridPositionX
* @param int gridPositionY
* @param int width
* @param int height
* @param int fill
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints makeConstraint(int gridPositionX, int gridPositionY, int width, int height, int fill, int anchor){
constraint.gridx = gridPositionX;
constraint.gridy = gridPositionY;
constraint.gridheight = height;
constraint.gridwidth = width;
constraint.fill = fill;
constraint.anchor = anchor;
return constraint;
}
/**
* This method only changes the fill value of the static member constraint, and returns the constraint.
* @param int fill
* @return GridBagConstraints
*/
public static GridBagConstraints changeFill(int fill){
constraint.fill = fill;
return constraint;
}
/**
* This method only changes the anchor value of the static member constraint, and returns the constraint.
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints changeAnchor(int anchor){
constraint.anchor = anchor;
return constraint;
}
}
package suncertify.client;

import java.awt.GridBagLayout;
import java.awt.GridBagConstraints;

/**
* This final class helps in constucting GridBagConstraints. It has default values for the constraints, and has methods
* that allows maximum values supplied, or just change the Fill or Anchor only.
*
* This is mainly a helper class for the gui. More methods could have been added to support any changes, however,
* only those that are really needed in this client are created.
*
* @version 1.0 18-Oct-2001
*/
public final class GridBagHelper{

private static GridBagConstraints constraint = new GridBagConstraints();

{ // static initializer of the constaints default values for the app
constraint.weightx = 5;
constraint.weighty = 5;
constraint.anchor = GridBagConstraints.WEST;
constraint.ipadx = 15;
constraint.ipady = 15;
}
/**
* By making this constructor Private, it disallows someone from creating an instance of this class, which should
* not be necessary since all the methods are static.
*/
private void GridBagHelper(){
}
/**
* This method changes the static member constraint, and returns the constraint.
* Fill is not changed in this overloaded version of the method
*
* @param int gridPositionX
* @param int gridPositionY
* @param int width
* @param int height
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints makeConstraint(int gridPositionX, int gridPositionY, int width, int height, int anchor){
constraint.gridx = gridPositionX;
constraint.gridy = gridPositionY;
constraint.gridheight = height;
constraint.gridwidth = width;
constraint.anchor = anchor;
return constraint;
}
/**
* This method changes the static member constraint, and returns the constraint.
* @param int gridPositionX
* @param int gridPositionY
* @param int width
* @param int height
* @param int fill
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints makeConstraint(int gridPositionX, int gridPositionY, int width, int height, int fill, int anchor){
constraint.gridx = gridPositionX;
constraint.gridy = gridPositionY;
constraint.gridheight = height;
constraint.gridwidth = width;
constraint.fill = fill;
constraint.anchor = anchor;
return constraint;
}
/**
* This method only changes the fill value of the static member constraint, and returns the constraint.
* @param int fill
* @return GridBagConstraints
*/
public static GridBagConstraints changeFill(int fill){
constraint.fill = fill;
return constraint;
}
/**
* This method only changes the anchor value of the static member constraint, and returns the constraint.
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints changeAnchor(int anchor){
constraint.anchor = anchor;
return constraint;
}
}
package suncertify.client;

import java.awt.GridBagLayout;
import java.awt.GridBagConstraints;

/**
* This final class helps in constucting GridBagConstraints. It has default values for the constraints, and has methods
* that allows maximum values supplied, or just change the Fill or Anchor only.
*
* This is mainly a helper class for the gui. More methods could have been added to support any changes, however,
* only those that are really needed in this client are created.
*
* @version 1.0 18-Oct-2001
*/
public final class GridBagHelper{

private static GridBagConstraints constraint = new GridBagConstraints();

{ // static initializer of the constaints default values for the app
constraint.weightx = 5;
constraint.weighty = 5;
constraint.anchor = GridBagConstraints.WEST;
constraint.ipadx = 15;
constraint.ipady = 15;
}
/**
* By making this constructor Private, it disallows someone from creating an instance of this class, which should
* not be necessary since all the methods are static.
*/
private void GridBagHelper(){
}
/**
* This method changes the static member constraint, and returns the constraint.
* Fill is not changed in this overloaded version of the method
*
* @param int gridPositionX
* @param int gridPositionY
* @param int width
* @param int height
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints makeConstraint(int gridPositionX, int gridPositionY, int width, int height, int anchor){
constraint.gridx = gridPositionX;
constraint.gridy = gridPositionY;
constraint.gridheight = height;
constraint.gridwidth = width;
constraint.anchor = anchor;
return constraint;
}
/**
* This method changes the static member constraint, and returns the constraint.
* @param int gridPositionX
* @param int gridPositionY
* @param int width
* @param int height
* @param int fill
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints makeConstraint(int gridPositionX, int gridPositionY, int width, int height, int fill, int anchor){
constraint.gridx = gridPositionX;
constraint.gridy = gridPositionY;
constraint.gridheight = height;
constraint.gridwidth = width;
constraint.fill = fill;
constraint.anchor = anchor;
return constraint;
}
/**
* This method only changes the fill value of the static member constraint, and returns the constraint.
* @param int fill
* @return GridBagConstraints
*/
public static GridBagConstraints changeFill(int fill){
constraint.fill = fill;
return constraint;
}
/**
* This method only changes the anchor value of the static member constraint, and returns the constraint.
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints changeAnchor(int anchor){
constraint.anchor = anchor;
return constraint;
}
}
package suncertify.client;

import java.awt.GridBagLayout;
import java.awt.GridBagConstraints;

/**
* This final class helps in constucting GridBagConstraints. It has default values for the constraints, and has methods
* that allows maximum values supplied, or just change the Fill or Anchor only.
*
* This is mainly a helper class for the gui. More methods could have been added to support any changes, however,
* only those that are really needed in this client are created.
*
* @version 1.0 18-Oct-2001
*/
public final class GridBagHelper{

private static GridBagConstraints constraint = new GridBagConstraints();

{ // static initializer of the constaints default values for the app
constraint.weightx = 5;
constraint.weighty = 5;
constraint.anchor = GridBagConstraints.WEST;
constraint.ipadx = 15;
constraint.ipady = 15;
}
/**
* By making this constructor Private, it disallows someone from creating an instance of this class, which should
* not be necessary since all the methods are static.
*/
private void GridBagHelper(){
}
/**
* This method changes the static member constraint, and returns the constraint.
* Fill is not changed in this overloaded version of the method
*
* @param int gridPositionX
* @param int gridPositionY
* @param int width
* @param int height
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints makeConstraint(int gridPositionX, int gridPositionY, int width, int height, int anchor){
constraint.gridx = gridPositionX;
constraint.gridy = gridPositionY;
constraint.gridheight = height;
constraint.gridwidth = width;
constraint.anchor = anchor;
return constraint;
}
/**
* This method changes the static member constraint, and returns the constraint.
* @param int gridPositionX
* @param int gridPositionY
* @param int width
* @param int height
* @param int fill
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints makeConstraint(int gridPositionX, int gridPositionY, int width, int height, int fill, int anchor){
constraint.gridx = gridPositionX;
constraint.gridy = gridPositionY;
constraint.gridheight = height;
constraint.gridwidth = width;
constraint.fill = fill;
constraint.anchor = anchor;
return constraint;
}
/**
* This method only changes the fill value of the static member constraint, and returns the constraint.
* @param int fill
* @return GridBagConstraints
*/
public static GridBagConstraints changeFill(int fill){
constraint.fill = fill;
return constraint;
}
/**
* This method only changes the anchor value of the static member constraint, and returns the constraint.
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints changeAnchor(int anchor){
constraint.anchor = anchor;
return constraint;
}
}
package suncertify.client;

import java.awt.GridBagLayout;
import java.awt.GridBagConstraints;

/**
* This final class helps in constucting GridBagConstraints. It has default values for the constraints, and has methods
* that allows maximum values supplied, or just change the Fill or Anchor only.
*
* This is mainly a helper class for the gui. More methods could have been added to support any changes, however,
* only those that are really needed in this client are created.
*
* @version 1.0 18-Oct-2001
*/
public final class GridBagHelper{

private static GridBagConstraints constraint = new GridBagConstraints();

{ // static initializer of the constaints default values for the app
constraint.weightx = 5;
constraint.weighty = 5;
constraint.anchor = GridBagConstraints.WEST;
constraint.ipadx = 15;
constraint.ipady = 15;
}
/**
* By making this constructor Private, it disallows someone from creating an instance of this class, which should
* not be necessary since all the methods are static.
*/
private void GridBagHelper(){
}
/**
* This method changes the static member constraint, and returns the constraint.
* Fill is not changed in this overloaded version of the method
*
* @param int gridPositionX
* @param int gridPositionY
* @param int width
* @param int height
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints makeConstraint(int gridPositionX, int gridPositionY, int width, int height, int anchor){
constraint.gridx = gridPositionX;
constraint.gridy = gridPositionY;
constraint.gridheight = height;
constraint.gridwidth = width;
constraint.anchor = anchor;
return constraint;
}
/**
* This method changes the static member constraint, and returns the constraint.
* @param int gridPositionX
* @param int gridPositionY
* @param int width
* @param int height
* @param int fill
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints makeConstraint(int gridPositionX, int gridPositionY, int width, int height, int fill, int anchor){
constraint.gridx = gridPositionX;
constraint.gridy = gridPositionY;
constraint.gridheight = height;
constraint.gridwidth = width;
constraint.fill = fill;
constraint.anchor = anchor;
return constraint;
}
/**
* This method only changes the fill value of the static member constraint, and returns the constraint.
* @param int fill
* @return GridBagConstraints
*/
public static GridBagConstraints changeFill(int fill){
constraint.fill = fill;
return constraint;
}
/**
* This method only changes the anchor value of the static member constraint, and returns the constraint.
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints changeAnchor(int anchor){
constraint.anchor = anchor;
return constraint;
}
}
package suncertify.client;

import java.awt.GridBagLayout;
import java.awt.GridBagConstraints;

/**
* This final class helps in constucting GridBagConstraints. It has default values for the constraints, and has methods
* that allows maximum values supplied, or just change the Fill or Anchor only.
*
* This is mainly a helper class for the gui. More methods could have been added to support any changes, however,
* only those that are really needed in this client are created.
*
* @version 1.0 18-Oct-2001
*/
public final class GridBagHelper{

private static GridBagConstraints constraint = new GridBagConstraints();

{ // static initializer of the constaints default values for the app
constraint.weightx = 5;
constraint.weighty = 5;
constraint.anchor = GridBagConstraints.WEST;
constraint.ipadx = 15;
constraint.ipady = 15;
}
/**
* By making this constructor Private, it disallows someone from creating an instance of this class, which should
* not be necessary since all the methods are static.
*/
private void GridBagHelper(){
}
/**
* This method changes the static member constraint, and returns the constraint.
* Fill is not changed in this overloaded version of the method
*
* @param int gridPositionX
* @param int gridPositionY
* @param int width
* @param int height
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints makeConstraint(int gridPositionX, int gridPositionY, int width, int height, int anchor){
constraint.gridx = gridPositionX;
constraint.gridy = gridPositionY;
constraint.gridheight = height;
constraint.gridwidth = width;
constraint.anchor = anchor;
return constraint;
}
/**
* This method changes the static member constraint, and returns the constraint.
* @param int gridPositionX
* @param int gridPositionY
* @param int width
* @param int height
* @param int fill
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints makeConstraint(int gridPositionX, int gridPositionY, int width, int height, int fill, int anchor){
constraint.gridx = gridPositionX;
constraint.gridy = gridPositionY;
constraint.gridheight = height;
constraint.gridwidth = width;
constraint.fill = fill;
constraint.anchor = anchor;
return constraint;
}
/**
* This method only changes the fill value of the static member constraint, and returns the constraint.
* @param int fill
* @return GridBagConstraints
*/
public static GridBagConstraints changeFill(int fill){
constraint.fill = fill;
return constraint;
}
/**
* This method only changes the anchor value of the static member constraint, and returns the constraint.
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints changeAnchor(int anchor){
constraint.anchor = anchor;
return constraint;
}
}package suncertify.client;

import java.awt.GridBagLayout;
import java.awt.GridBagConstraints;

/**
* This final class helps in constucting GridBagConstraints. It has default values for the constraints, and has methods
* that allows maximum values supplied, or just change the Fill or Anchor only.
*
* This is mainly a helper class for the gui. More methods could have been added to support any changes, however,
* only those that are really needed in this client are created.
*
* @version 1.0 18-Oct-2001
*/
public final class GridBagHelper{

private static GridBagConstraints constraint = new GridBagConstraints();

{ // static initializer of the constaints default values for the app
constraint.weightx = 5;
constraint.weighty = 5;
constraint.anchor = GridBagConstraints.WEST;
constraint.ipadx = 15;
constraint.ipady = 15;
}
/**
* By making this constructor Private, it disallows someone from creating an instance of this class, which should
* not be necessary since all the methods are static.
*/
private void GridBagHelper(){
}
/**
* This method changes the static member constraint, and returns the constraint.
* Fill is not changed in this overloaded version of the method
*
* @param int gridPositionX
* @param int gridPositionY
* @param int width
* @param int height
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints makeConstraint(int gridPositionX, int gridPositionY, int width, int height, int anchor){
constraint.gridx = gridPositionX;
constraint.gridy = gridPositionY;
constraint.gridheight = height;
constraint.gridwidth = width;
constraint.anchor = anchor;
return constraint;
}
/**
* This method changes the static member constraint, and returns the constraint.
* @param int gridPositionX
* @param int gridPositionY
* @param int width
* @param int height
* @param int fill
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints makeConstraint(int gridPositionX, int gridPositionY, int width, int height, int fill, int anchor){
constraint.gridx = gridPositionX;
constraint.gridy = gridPositionY;
constraint.gridheight = height;
constraint.gridwidth = width;
constraint.fill = fill;
constraint.anchor = anchor;
return constraint;
}
/**
* This method only changes the fill value of the static member constraint, and returns the constraint.
* @param int fill
* @return GridBagConstraints
*/
public static GridBagConstraints changeFill(int fill){
constraint.fill = fill;
return constraint;
}
/**
* This method only changes the anchor value of the static member constraint, and returns the constraint.
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints changeAnchor(int anchor){
constraint.anchor = anchor;
return constraint;
}
}package suncertify.client;

import java.awt.GridBagLayout;
import java.awt.GridBagConstraints;

/**
* This final class helps in constucting GridBagConstraints. It has default values for the constraints, and has methods
* that allows maximum values supplied, or just change the Fill or Anchor only.
*
* This is mainly a helper class for the gui. More methods could have been added to support any changes, however,
* only those that are really needed in this client are created.
*
* @version 1.0 18-Oct-2001
*/
public final class GridBagHelper{

private static GridBagConstraints constraint = new GridBagConstraints();

{ // static initializer of the constaints default values for the app
constraint.weightx = 5;
constraint.weighty = 5;
constraint.anchor = GridBagConstraints.WEST;
constraint.ipadx = 15;
constraint.ipady = 15;
}
/**
* By making this constructor Private, it disallows someone from creating an instance of this class, which should
* not be necessary since all the methods are static.
*/
private void GridBagHelper(){
}
/**
* This method changes the static member constraint, and returns the constraint.
* Fill is not changed in this overloaded version of the method
*
* @param int gridPositionX
* @param int gridPositionY
* @param int width
* @param int height
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints makeConstraint(int gridPositionX, int gridPositionY, int width, int height, int anchor){
constraint.gridx = gridPositionX;
constraint.gridy = gridPositionY;
constraint.gridheight = height;
constraint.gridwidth = width;
constraint.anchor = anchor;
return constraint;
}
/**
* This method changes the static member constraint, and returns the constraint.
* @param int gridPositionX
* @param int gridPositionY
* @param int width
* @param int height
* @param int fill
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints makeConstraint(int gridPositionX, int gridPositionY, int width, int height, int fill, int anchor){
constraint.gridx = gridPositionX;
constraint.gridy = gridPositionY;
constraint.gridheight = height;
constraint.gridwidth = width;
constraint.fill = fill;
constraint.anchor = anchor;
return constraint;
}
/**
* This method only changes the fill value of the static member constraint, and returns the constraint.
* @param int fill
* @return GridBagConstraints
*/
public static GridBagConstraints changeFill(int fill){
constraint.fill = fill;
return constraint;
}
/**
* This method only changes the anchor value of the static member constraint, and returns the constraint.
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints changeAnchor(int anchor){
constraint.anchor = anchor;
return constraint;
}
}
package suncertify.client;

import java.awt.GridBagLayout;
import java.awt.GridBagConstraints;

/**
* This final class helps in constucting GridBagConstraints. It has default values for the constraints, and has methods
* that allows maximum values supplied, or just change the Fill or Anchor only.
*
* This is mainly a helper class for the gui. More methods could have been added to support any changes, however,
* only those that are really needed in this client are created.
*
* @version 1.0 18-Oct-2001
*/
public final class GridBagHelper{

private static GridBagConstraints constraint = new GridBagConstraints();

{ // static initializer of the constaints default values for the app
constraint.weightx = 5;
constraint.weighty = 5;
constraint.anchor = GridBagConstraints.WEST;
constraint.ipadx = 15;
constraint.ipady = 15;
}
/**
* By making this constructor Private, it disallows someone from creating an instance of this class, which should
* not be necessary since all the methods are static.
*/
private void GridBagHelper(){
}
/**
* This method changes the static member constraint, and returns the constraint.
* Fill is not changed in this overloaded version of the method
*
* @param int gridPositionX
* @param int gridPositionY
* @param int width
* @param int height
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints makeConstraint(int gridPositionX, int gridPositionY, int width, int height, int anchor){
constraint.gridx = gridPositionX;
constraint.gridy = gridPositionY;
constraint.gridheight = height;
constraint.gridwidth = width;
constraint.anchor = anchor;
return constraint;
}
/**
* This method changes the static member constraint, and returns the constraint.
* @param int gridPositionX
* @param int gridPositionY
* @param int width
* @param int height
* @param int fill
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints makeConstraint(int gridPositionX, int gridPositionY, int width, int height, int fill, int anchor){
constraint.gridx = gridPositionX;
constraint.gridy = gridPositionY;
constraint.gridheight = height;
constraint.gridwidth = width;
constraint.fill = fill;
constraint.anchor = anchor;
return constraint;
}
/**
* This method only changes the fill value of the static member constraint, and returns the constraint.
* @param int fill
* @return GridBagConstraints
*/
public static GridBagConstraints changeFill(int fill){
constraint.fill = fill;
return constraint;
}
/**
* This method only changes the anchor value of the static member constraint, and returns the constraint.
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints changeAnchor(int anchor){
constraint.anchor = anchor;
return constraint;
}
}
package suncertify.client;

import java.awt.GridBagLayout;
import java.awt.GridBagConstraints;

/**
* This final class helps in constucting GridBagConstraints. It has default values for the constraints, and has methods
* that allows maximum values supplied, or just change the Fill or Anchor only.
*
* This is mainly a helper class for the gui. More methods could have been added to support any changes, however,
* only those that are really needed in this client are created.
*
* @version 1.0 18-Oct-2001
*/
public final class GridBagHelper{

private static GridBagConstraints constraint = new GridBagConstraints();

{ // static initializer of the constaints default values for the app
constraint.weightx = 5;
constraint.weighty = 5;
constraint.anchor = GridBagConstraints.WEST;
constraint.ipadx = 15;
constraint.ipady = 15;
}
/**
* By making this constructor Private, it disallows someone from creating an instance of this class, which should
* not be necessary since all the methods are static.
*/
private void GridBagHelper(){
}
/**
* This method changes the static member constraint, and returns the constraint.
* Fill is not changed in this overloaded version of the method
*
* @param int gridPositionX
* @param int gridPositionY
* @param int width
* @param int height
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints makeConstraint(int gridPositionX, int gridPositionY, int width, int height, int anchor){
constraint.gridx = gridPositionX;
constraint.gridy = gridPositionY;
constraint.gridheight = height;
constraint.gridwidth = width;
constraint.anchor = anchor;
return constraint;
}
/**
* This method changes the static member constraint, and returns the constraint.
* @param int gridPositionX
* @param int gridPositionY
* @param int width
* @param int height
* @param int fill
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints makeConstraint(int gridPositionX, int gridPositionY, int width, int height, int fill, int anchor){
constraint.gridx = gridPositionX;
constraint.gridy = gridPositionY;
constraint.gridheight = height;
constraint.gridwidth = width;
constraint.fill = fill;
constraint.anchor = anchor;
return constraint;
}
/**
* This method only changes the fill value of the static member constraint, and returns the constraint.
* @param int fill
* @return GridBagConstraints
*/
public static GridBagConstraints changeFill(int fill){
constraint.fill = fill;
return constraint;
}
/**
* This method only changes the anchor value of the static member constraint, and returns the constraint.
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints changeAnchor(int anchor){
constraint.anchor = anchor;
return constraint;
}
}
package suncertify.client;

import java.awt.GridBagLayout;
import java.awt.GridBagConstraints;

/**
* This final class helps in constucting GridBagConstraints. It has default values for the constraints, and has methods
* that allows maximum values supplied, or just change the Fill or Anchor only.
*
* This is mainly a helper class for the gui. More methods could have been added to support any changes, however,
* only those that are really needed in this client are created.
*
* @version 1.0 18-Oct-2001
*/
public final class GridBagHelper{

private static GridBagConstraints constraint = new GridBagConstraints();

{ // static initializer of the constaints default values for the app
constraint.weightx = 5;
constraint.weighty = 5;
constraint.anchor = GridBagConstraints.WEST;
constraint.ipadx = 15;
constraint.ipady = 15;
}
/**
* By making this constructor Private, it disallows someone from creating an instance of this class, which should
* not be necessary since all the methods are static.
*/
private void GridBagHelper(){
}
/**
* This method changes the static member constraint, and returns the constraint.
* Fill is not changed in this overloaded version of the method
*
* @param int gridPositionX
* @param int gridPositionY
* @param int width
* @param int height
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints makeConstraint(int gridPositionX, int gridPositionY, int width, int height, int anchor){
constraint.gridx = gridPositionX;
constraint.gridy = gridPositionY;
constraint.gridheight = height;
constraint.gridwidth = width;
constraint.anchor = anchor;
return constraint;
}
/**
* This method changes the static member constraint, and returns the constraint.
* @param int gridPositionX
* @param int gridPositionY
* @param int width
* @param int height
* @param int fill
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints makeConstraint(int gridPositionX, int gridPositionY, int width, int height, int fill, int anchor){
constraint.gridx = gridPositionX;
constraint.gridy = gridPositionY;
constraint.gridheight = height;
constraint.gridwidth = width;
constraint.fill = fill;
constraint.anchor = anchor;
return constraint;
}
/**
* This method only changes the fill value of the static member constraint, and returns the constraint.
* @param int fill
* @return GridBagConstraints
*/
public static GridBagConstraints changeFill(int fill){
constraint.fill = fill;
return constraint;
}
/**
* This method only changes the anchor value of the static member constraint, and returns the constraint.
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints changeAnchor(int anchor){
constraint.anchor = anchor;
return constraint;
}
}
package suncertify.client;

import java.awt.GridBagLayout;
import java.awt.GridBagConstraints;

/**
* This final class helps in constucting GridBagConstraints. It has default values for the constraints, and has methods
* that allows maximum values supplied, or just change the Fill or Anchor only.
*
* This is mainly a helper class for the gui. More methods could have been added to support any changes, however,
* only those that are really needed in this client are created.
*
* @version 1.0 18-Oct-2001
*/
public final class GridBagHelper{

private static GridBagConstraints constraint = new GridBagConstraints();

{ // static initializer of the constaints default values for the app
constraint.weightx = 5;
constraint.weighty = 5;
constraint.anchor = GridBagConstraints.WEST;
constraint.ipadx = 15;
constraint.ipady = 15;
}
/**
* By making this constructor Private, it disallows someone from creating an instance of this class, which should
* not be necessary since all the methods are static.
*/
private void GridBagHelper(){
}
/**
* This method changes the static member constraint, and returns the constraint.
* Fill is not changed in this overloaded version of the method
*
* @param int gridPositionX
* @param int gridPositionY
* @param int width
* @param int height
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints makeConstraint(int gridPositionX, int gridPositionY, int width, int height, int anchor){
constraint.gridx = gridPositionX;
constraint.gridy = gridPositionY;
constraint.gridheight = height;
constraint.gridwidth = width;
constraint.anchor = anchor;
return constraint;
}
/**
* This method changes the static member constraint, and returns the constraint.
* @param int gridPositionX
* @param int gridPositionY
* @param int width
* @param int height
* @param int fill
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints makeConstraint(int gridPositionX, int gridPositionY, int width, int height, int fill, int anchor){
constraint.gridx = gridPositionX;
constraint.gridy = gridPositionY;
constraint.gridheight = height;
constraint.gridwidth = width;
constraint.fill = fill;
constraint.anchor = anchor;
return constraint;
}
/**
* This method only changes the fill value of the static member constraint, and returns the constraint.
* @param int fill
* @return GridBagConstraints
*/
public static GridBagConstraints changeFill(int fill){
constraint.fill = fill;
return constraint;
}
/**
* This method only changes the anchor value of the static member constraint, and returns the constraint.
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints changeAnchor(int anchor){
constraint.anchor = anchor;
return constraint;
}
}
package suncertify.client;

import java.awt.GridBagLayout;
import java.awt.GridBagConstraints;

/**
* This final class helps in constucting GridBagConstraints. It has default values for the constraints, and has methods
* that allows maximum values supplied, or just change the Fill or Anchor only.
*
* This is mainly a helper class for the gui. More methods could have been added to support any changes, however,
* only those that are really needed in this client are created.
*
* @version 1.0 18-Oct-2001
*/
public final class GridBagHelper{

private static GridBagConstraints constraint = new GridBagConstraints();

{ // static initializer of the constaints default values for the app
constraint.weightx = 5;
constraint.weighty = 5;
constraint.anchor = GridBagConstraints.WEST;
constraint.ipadx = 15;
constraint.ipady = 15;
}
/**
* By making this constructor Private, it disallows someone from creating an instance of this class, which should
* not be necessary since all the methods are static.
*/
private void GridBagHelper(){
}
/**
* This method changes the static member constraint, and returns the constraint.
* Fill is not changed in this overloaded version of the method
*
* @param int gridPositionX
* @param int gridPositionY
* @param int width
* @param int height
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints makeConstraint(int gridPositionX, int gridPositionY, int width, int height, int anchor){
constraint.gridx = gridPositionX;
constraint.gridy = gridPositionY;
constraint.gridheight = height;
constraint.gridwidth = width;
constraint.anchor = anchor;
return constraint;
}
/**
* This method changes the static member constraint, and returns the constraint.
* @param int gridPositionX
* @param int gridPositionY
* @param int width
* @param int height
* @param int fill
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints makeConstraint(int gridPositionX, int gridPositionY, int width, int height, int fill, int anchor){
constraint.gridx = gridPositionX;
constraint.gridy = gridPositionY;
constraint.gridheight = height;
constraint.gridwidth = width;
constraint.fill = fill;
constraint.anchor = anchor;
return constraint;
}
/**
* This method only changes the fill value of the static member constraint, and returns the constraint.
* @param int fill
* @return GridBagConstraints
*/
public static GridBagConstraints changeFill(int fill){
constraint.fill = fill;
return constraint;
}
/**
* This method only changes the anchor value of the static member constraint, and returns the constraint.
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints changeAnchor(int anchor){
constraint.anchor = anchor;
return constraint;
}
}
package suncertify.client;

import java.awt.GridBagLayout;
import java.awt.GridBagConstraints;

/**
* This final class helps in constucting GridBagConstraints. It has default values for the constraints, and has methods
* that allows maximum values supplied, or just change the Fill or Anchor only.
*
* This is mainly a helper class for the gui. More methods could have been added to support any changes, however,
* only those that are really needed in this client are created.
*
* @version 1.0 18-Oct-2001
*/
public final class GridBagHelper{

private static GridBagConstraints constraint = new GridBagConstraints();

{ // static initializer of the constaints default values for the app
constraint.weightx = 5;
constraint.weighty = 5;
constraint.anchor = GridBagConstraints.WEST;
constraint.ipadx = 15;
constraint.ipady = 15;
}
/**
* By making this constructor Private, it disallows someone from creating an instance of this class, which should
* not be necessary since all the methods are static.
*/
private void GridBagHelper(){
}
/**
* This method changes the static member constraint, and returns the constraint.
* Fill is not changed in this overloaded version of the method
*
* @param int gridPositionX
* @param int gridPositionY
* @param int width
* @param int height
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints makeConstraint(int gridPositionX, int gridPositionY, int width, int height, int anchor){
constraint.gridx = gridPositionX;
constraint.gridy = gridPositionY;
constraint.gridheight = height;
constraint.gridwidth = width;
constraint.anchor = anchor;
return constraint;
}
/**
* This method changes the static member constraint, and returns the constraint.
* @param int gridPositionX
* @param int gridPositionY
* @param int width
* @param int height
* @param int fill
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints makeConstraint(int gridPositionX, int gridPositionY, int width, int height, int fill, int anchor){
constraint.gridx = gridPositionX;
constraint.gridy = gridPositionY;
constraint.gridheight = height;
constraint.gridwidth = width;
constraint.fill = fill;
constraint.anchor = anchor;
return constraint;
}
/**
* This method only changes the fill value of the static member constraint, and returns the constraint.
* @param int fill
* @return GridBagConstraints
*/
public static GridBagConstraints changeFill(int fill){
constraint.fill = fill;
return constraint;
}
/**
* This method only changes the anchor value of the static member constraint, and returns the constraint.
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints changeAnchor(int anchor){
constraint.anchor = anchor;
return constraint;
}
}package suncertify.client;

import java.awt.GridBagLayout;
import java.awt.GridBagConstraints;

/**
* This final class helps in constucting GridBagConstraints. It has default values for the constraints, and has methods
* that allows maximum values supplied, or just change the Fill or Anchor only.
*
* This is mainly a helper class for the gui. More methods could have been added to support any changes, however,
* only those that are really needed in this client are created.
*
* @version 1.0 18-Oct-2001
*/
public final class GridBagHelper{

private static GridBagConstraints constraint = new GridBagConstraints();

{ // static initializer of the constaints default values for the app
constraint.weightx = 5;
constraint.weighty = 5;
constraint.anchor = GridBagConstraints.WEST;
constraint.ipadx = 15;
constraint.ipady = 15;
}
/**
* By making this constructor Private, it disallows someone from creating an instance of this class, which should
* not be necessary since all the methods are static.
*/
private void GridBagHelper(){
}
/**
* This method changes the static member constraint, and returns the constraint.
* Fill is not changed in this overloaded version of the method
*
* @param int gridPositionX
* @param int gridPositionY
* @param int width
* @param int height
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints makeConstraint(int gridPositionX, int gridPositionY, int width, int height, int anchor){
constraint.gridx = gridPositionX;
constraint.gridy = gridPositionY;
constraint.gridheight = height;
constraint.gridwidth = width;
constraint.anchor = anchor;
return constraint;
}
/**
* This method changes the static member constraint, and returns the constraint.
* @param int gridPositionX
* @param int gridPositionY
* @param int width
* @param int height
* @param int fill
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints makeConstraint(int gridPositionX, int gridPositionY, int width, int height, int fill, int anchor){
constraint.gridx = gridPositionX;
constraint.gridy = gridPositionY;
constraint.gridheight = height;
constraint.gridwidth = width;
constraint.fill = fill;
constraint.anchor = anchor;
return constraint;
}
/**
* This method only changes the fill value of the static member constraint, and returns the constraint.
* @param int fill
* @return GridBagConstraints
*/
public static GridBagConstraints changeFill(int fill){
constraint.fill = fill;
return constraint;
}
/**
* This method only changes the anchor value of the static member constraint, and returns the constraint.
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints changeAnchor(int anchor){
constraint.anchor = anchor;
return constraint;
}
}
package suncertify.client;

import java.awt.GridBagLayout;
import java.awt.GridBagConstraints;

/**
* This final class helps in constucting GridBagConstraints. It has default values for the constraints, and has methods
* that allows maximum values supplied, or just change the Fill or Anchor only.
*
* This is mainly a helper class for the gui. More methods could have been added to support any changes, however,
* only those that are really needed in this client are created.
*
* @version 1.0 18-Oct-2001
*/
public final class GridBagHelper{

private static GridBagConstraints constraint = new GridBagConstraints();

{ // static initializer of the constaints default values for the app
constraint.weightx = 5;
constraint.weighty = 5;
constraint.anchor = GridBagConstraints.WEST;
constraint.ipadx = 15;
constraint.ipady = 15;
}
/**
* By making this constructor Private, it disallows someone from creating an instance of this class, which should
* not be necessary since all the methods are static.
*/
private void GridBagHelper(){
}
/**
* This method changes the static member constraint, and returns the constraint.
* Fill is not changed in this overloaded version of the method
*
* @param int gridPositionX
* @param int gridPositionY
* @param int width
* @param int height
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints makeConstraint(int gridPositionX, int gridPositionY, int width, int height, int anchor){
constraint.gridx = gridPositionX;
constraint.gridy = gridPositionY;
constraint.gridheight = height;
constraint.gridwidth = width;
constraint.anchor = anchor;
return constraint;
}
/**
* This method changes the static member constraint, and returns the constraint.
* @param int gridPositionX
* @param int gridPositionY
* @param int width
* @param int height
* @param int fill
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints makeConstraint(int gridPositionX, int gridPositionY, int width, int height, int fill, int anchor){
constraint.gridx = gridPositionX;
constraint.gridy = gridPositionY;
constraint.gridheight = height;
constraint.gridwidth = width;
constraint.fill = fill;
constraint.anchor = anchor;
return constraint;
}
/**
* This method only changes the fill value of the static member constraint, and returns the constraint.
* @param int fill
* @return GridBagConstraints
*/
public static GridBagConstraints changeFill(int fill){
constraint.fill = fill;
return constraint;
}
/**
* This method only changes the anchor value of the static member constraint, and returns the constraint.
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints changeAnchor(int anchor){
constraint.anchor = anchor;
return constraint;
}
}
package suncertify.client;

import java.awt.GridBagLayout;
import java.awt.GridBagConstraints;

/**
* This final class helps in constucting GridBagConstraints. It has default values for the constraints, and has methods
* that allows maximum values supplied, or just change the Fill or Anchor only.
*
* This is mainly a helper class for the gui. More methods could have been added to support any changes, however,
* only those that are really needed in this client are created.
*
* @version 1.0 18-Oct-2001
*/
public final class GridBagHelper{

private static GridBagConstraints constraint = new GridBagConstraints();

{ // static initializer of the constaints default values for the app
constraint.weightx = 5;
constraint.weighty = 5;
constraint.anchor = GridBagConstraints.WEST;
constraint.ipadx = 15;
constraint.ipady = 15;
}
/**
* By making this constructor Private, it disallows someone from creating an instance of this class, which should
* not be necessary since all the methods are static.
*/
private void GridBagHelper(){
}
/**
* This method changes the static member constraint, and returns the constraint.
* Fill is not changed in this overloaded version of the method
*
* @param int gridPositionX
* @param int gridPositionY
* @param int width
* @param int height
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints makeConstraint(int gridPositionX, int gridPositionY, int width, int height, int anchor){
constraint.gridx = gridPositionX;
constraint.gridy = gridPositionY;
constraint.gridheight = height;
constraint.gridwidth = width;
constraint.anchor = anchor;
return constraint;
}
/**
* This method changes the static member constraint, and returns the constraint.
* @param int gridPositionX
* @param int gridPositionY
* @param int width
* @param int height
* @param int fill
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints makeConstraint(int gridPositionX, int gridPositionY, int width, int height, int fill, int anchor){
constraint.gridx = gridPositionX;
constraint.gridy = gridPositionY;
constraint.gridheight = height;
constraint.gridwidth = width;
constraint.fill = fill;
constraint.anchor = anchor;
return constraint;
}
/**
* This method only changes the fill value of the static member constraint, and returns the constraint.
* @param int fill
* @return GridBagConstraints
*/
public static GridBagConstraints changeFill(int fill){
constraint.fill = fill;
return constraint;
}
/**
* This method only changes the anchor value of the static member constraint, and returns the constraint.
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints changeAnchor(int anchor){
constraint.anchor = anchor;
return constraint;
}
}package suncertify.client;

import java.awt.GridBagLayout;
import java.awt.GridBagConstraints;

/**
* This final class helps in constucting GridBagConstraints. It has default values for the constraints, and has methods
* that allows maximum values supplied, or just change the Fill or Anchor only.
*
* This is mainly a helper class for the gui. More methods could have been added to support any changes, however,
* only those that are really needed in this client are created.
*
* @version 1.0 18-Oct-2001
*/
public final class GridBagHelper{

private static GridBagConstraints constraint = new GridBagConstraints();

{ // static initializer of the constaints default values for the app
constraint.weightx = 5;
constraint.weighty = 5;
constraint.anchor = GridBagConstraints.WEST;
constraint.ipadx = 15;
constraint.ipady = 15;
}
/**
* By making this constructor Private, it disallows someone from creating an instance of this class, which should
* not be necessary since all the methods are static.
*/
private void GridBagHelper(){
}
/**
* This method changes the static member constraint, and returns the constraint.
* Fill is not changed in this overloaded version of the method
*
* @param int gridPositionX
* @param int gridPositionY
* @param int width
* @param int height
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints makeConstraint(int gridPositionX, int gridPositionY, int width, int height, int anchor){
constraint.gridx = gridPositionX;
constraint.gridy = gridPositionY;
constraint.gridheight = height;
constraint.gridwidth = width;
constraint.anchor = anchor;
return constraint;
}
/**
* This method changes the static member constraint, and returns the constraint.
* @param int gridPositionX
* @param int gridPositionY
* @param int width
* @param int height
* @param int fill
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints makeConstraint(int gridPositionX, int gridPositionY, int width, int height, int fill, int anchor){
constraint.gridx = gridPositionX;
constraint.gridy = gridPositionY;
constraint.gridheight = height;
constraint.gridwidth = width;
constraint.fill = fill;
constraint.anchor = anchor;
return constraint;
}
/**
* This method only changes the fill value of the static member constraint, and returns the constraint.
* @param int fill
* @return GridBagConstraints
*/
public static GridBagConstraints changeFill(int fill){
constraint.fill = fill;
return constraint;
}
/**
* This method only changes the anchor value of the static member constraint, and returns the constraint.
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints changeAnchor(int anchor){
constraint.anchor = anchor;
return constraint;
}
}
package suncertify.client;

import java.awt.GridBagLayout;
import java.awt.GridBagConstraints;

/**
* This final class helps in constucting GridBagConstraints. It has default values for the constraints, and has methods
* that allows maximum values supplied, or just change the Fill or Anchor only.
*
* This is mainly a helper class for the gui. More methods could have been added to support any changes, however,
* only those that are really needed in this client are created.
*
* @version 1.0 18-Oct-2001
*/
public final class GridBagHelper{

private static GridBagConstraints constraint = new GridBagConstraints();

{ // static initializer of the constaints default values for the app
constraint.weightx = 5;
constraint.weighty = 5;
constraint.anchor = GridBagConstraints.WEST;
constraint.ipadx = 15;
constraint.ipady = 15;
}
/**
* By making this constructor Private, it disallows someone from creating an instance of this class, which should
* not be necessary since all the methods are static.
*/
private void GridBagHelper(){
}
/**
* This method changes the static member constraint, and returns the constraint.
* Fill is not changed in this overloaded version of the method
*
* @param int gridPositionX
* @param int gridPositionY
* @param int width
* @param int height
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints makeConstraint(int gridPositionX, int gridPositionY, int width, int height, int anchor){
constraint.gridx = gridPositionX;
constraint.gridy = gridPositionY;
constraint.gridheight = height;
constraint.gridwidth = width;
constraint.anchor = anchor;
return constraint;
}
/**
* This method changes the static member constraint, and returns the constraint.
* @param int gridPositionX
* @param int gridPositionY
* @param int width
* @param int height
* @param int fill
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints makeConstraint(int gridPositionX, int gridPositionY, int width, int height, int fill, int anchor){
constraint.gridx = gridPositionX;
constraint.gridy = gridPositionY;
constraint.gridheight = height;
constraint.gridwidth = width;
constraint.fill = fill;
constraint.anchor = anchor;
return constraint;
}
/**
* This method only changes the fill value of the static member constraint, and returns the constraint.
* @param int fill
* @return GridBagConstraints
*/
public static GridBagConstraints changeFill(int fill){
constraint.fill = fill;
return constraint;
}
/**
* This method only changes the anchor value of the static member constraint, and returns the constraint.
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints changeAnchor(int anchor){
constraint.anchor = anchor;
return constraint;
}
}
package suncertify.client;

import java.awt.GridBagLayout;
import java.awt.GridBagConstraints;

/**
* This final class helps in constucting GridBagConstraints. It has default values for the constraints, and has methods
* that allows maximum values supplied, or just change the Fill or Anchor only.
*
* This is mainly a helper class for the gui. More methods could have been added to support any changes, however,
* only those that are really needed in this client are created.
*
* @version 1.0 18-Oct-2001
*/
public final class GridBagHelper{

private static GridBagConstraints constraint = new GridBagConstraints();

{ // static initializer of the constaints default values for the app
constraint.weightx = 5;
constraint.weighty = 5;
constraint.anchor = GridBagConstraints.WEST;
constraint.ipadx = 15;
constraint.ipady = 15;
}
/**
* By making this constructor Private, it disallows someone from creating an instance of this class, which should
* not be necessary since all the methods are static.
*/
private void GridBagHelper(){
}
/**
* This method changes the static member constraint, and returns the constraint.
* Fill is not changed in this overloaded version of the method
*
* @param int gridPositionX
* @param int gridPositionY
* @param int width
* @param int height
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints makeConstraint(int gridPositionX, int gridPositionY, int width, int height, int anchor){
constraint.gridx = gridPositionX;
constraint.gridy = gridPositionY;
constraint.gridheight = height;
constraint.gridwidth = width;
constraint.anchor = anchor;
return constraint;
}
/**
* This method changes the static member constraint, and returns the constraint.
* @param int gridPositionX
* @param int gridPositionY
* @param int width
* @param int height
* @param int fill
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints makeConstraint(int gridPositionX, int gridPositionY, int width, int height, int fill, int anchor){
constraint.gridx = gridPositionX;
constraint.gridy = gridPositionY;
constraint.gridheight = height;
constraint.gridwidth = width;
constraint.fill = fill;
constraint.anchor = anchor;
return constraint;
}
/**
* This method only changes the fill value of the static member constraint, and returns the constraint.
* @param int fill
* @return GridBagConstraints
*/
public static GridBagConstraints changeFill(int fill){
constraint.fill = fill;
return constraint;
}
/**
* This method only changes the anchor value of the static member constraint, and returns the constraint.
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints changeAnchor(int anchor){
constraint.anchor = anchor;
return constraint;
}
}
package suncertify.client;

import java.awt.GridBagLayout;
import java.awt.GridBagConstraints;

/**
* This final class helps in constucting GridBagConstraints. It has default values for the constraints, and has methods
* that allows maximum values supplied, or just change the Fill or Anchor only.
*
* This is mainly a helper class for the gui. More methods could have been added to support any changes, however,
* only those that are really needed in this client are created.
*
* @version 1.0 18-Oct-2001
package suncertify.client;

import java.awt.GridBagLayout;
import java.awt.GridBagConstraints;

/**
* This final class helps in constucting GridBagConstraints. It has default values for the constraints, and has methods
* that allows maximum values supplied, or just change the Fill or Anchor only.
*
* This is mainly a helper class for the gui. More methods could have been added to support any changes, however,
* only those that are really needed in this client are created.
*
* @version 1.0 18-Oct-2001
*/
public final class GridBagHelper{

private static GridBagConstraints constraint = new GridBagConstraints();

{ // static initializer of the constaints default values for the app
constraint.weightx = 5;
constraint.weighty = 5;
constraint.anchor = GridBagConstraints.WEST;
constraint.ipadx = 15;
constraint.ipady = 15;
}
/**
* By making this constructor Private, it disallows someone from creating an instance of this class, which should
* not be necessary since all the methods are static.
*/
private void GridBagHelper(){
}
/**
* This method changes the static member constraint, and returns the constraint.
* Fill is not changed in this overloaded version of the method
*
* @param int gridPositionX
* @param int gridPositionY
* @param int width
* @param int height
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints makeConstraint(int gridPositionX, int gridPositionY, int width, int height, int anchor){
constraint.gridx = gridPositionX;
package suncertify.client;

import java.awt.GridBagLayout;
import java.awt.GridBagConstraints;

/**
* This final class helps in constucting GridBagConstraints. It has default values for the constraints, and has methods
* that allows maximum values supplied, or just change the Fill or Anchor only.
*
* This is mainly a helper class for the gui. More methods could have been added to support any changes, however,
* only those that are really needed in this client are created.
*
* @version 1.0 18-Oct-2001
*/
public final class GridBagHelper{

private static GridBagConstraints constraint = new GridBagConstraints();

{ // static initializer of the constaints default values for the app
constraint.weightx = 5;
constraint.weighty = 5;
constraint.anchor = GridBagConstraints.WEST;
constraint.ipadx = 15;
constraint.ipady = 15;
}
/**
* By making this constructor Private, it disallows someone from creating an instance of this class, which should
* not be necessary since all the methods are static.
*/
private void GridBagHelper(){
}
/**
* This method changes the static member constraint, and returns the constraint.
* Fill is not changed in this overloaded version of the method
*
* @param int gridPositionX
* @param int gridPositionY
* @param int width
* @param int height
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints makeConstraint(int gridPositionX, int gridPositionY, int width, int height, int anchor){
constraint.gridx = gridPositionX;
constraint.gridy = gridPositionY;
constraint.gridheight = height;
constraint.gridwidth = width;
constraint.anchor = anchor;
return constraint;
}
/**
* This method changes the static member constraint, and returns the constraint.
* @param int gridPositionX
* @param int gridPositionY
* @param int width
* @param int height
* @param int fill
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints makeConstraint(int gridPositionX, int gridPositionY, int width, int height, int fill, int anchor){
constraint.gridx = gridPositionX;
constraint.gridy = gridPositionY;
constraint.gridheight = height;
constraint.gridwidth = width;
constraint.fill = fill;
constraint.anchor = anchor;
return constraint;
}
/**
* This method only changes the fill value of the static member constraint, and returns the constraint.
* @param int fill
* @return GridBagConstraints
*/
public static GridBagConstraints changeFill(int fill){
constraint.fill = fill;
return constraint;
}
/**
* This method only changes the anchor value of the static member constraint, and returns the constraint.
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints changeAnchor(int anchor){
constraint.anchor = anchor;
return constraint;
}
}
constraint.gridy = gridPositionY;
constraint.gridheight = height;
constraint.gridwidth = width;
constraint.anchor = anchor;
return constraint;
}
/**
* This method changes the static member constraint, and returns the constraint.
* @param int gridPositionX
* @param int gridPositionY
* @param int width
* @param int height
* @param int fill
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints makeConstraint(int gridPositionX, int gridPositionY, int width, int height, int fill, int anchor){
constraint.gridx = gridPositionX;
constraint.gridy = gridPositionY;
constraint.gridheight = height;
constraint.gridwidth = width;
constraint.fill = fill;
constraint.anchor = anchor;
return constraint;
}
/**
* This method only changes the fill value of the static member constraint, and returns the constraint.
* @param int fill
* @return GridBagConstraints
*/
public static GridBagConstraints changeFill(int fill){
constraint.fill = fill;
return constraint;
}
/**
* This method only changes the anchor value of the static member constraint, and returns the constraint.
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints changeAnchor(int anchor){
constraint.anchor = anchor;
return constraint;
}
}
*/
public final class GridBagHelper{

private static GridBagConstraints constraint = new GridBagConstraints();

{ // static initializer of the constaints default values for the app
constraint.weightx = 5;
constraint.weighty = 5;
constraint.anchor = GridBagConstraints.WEST;
constraint.ipadx = 15;
constraint.ipady = 15;
}
/**
* By making this constructor Private, it disallows someone from creating an instance of this class, which should
* not be necessary since all the methods are static.
*/
private void GridBagHelper(){
}
/**
* This method changes the static member constraint, and returns the constraint.
* Fill is not changed in this overloaded version of the method
*
* @param int gridPositionX
* @param int gridPositionY
* @param int width
* @param int height
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints makeConstraint(int gridPositionX, int gridPositionY, int width, int height, int anchor){
constraint.gridx = gridPositionX;
constraint.gridy = gridPositionY;
constraint.gridheight = height;
constraint.gridwidth = width;
constraint.anchor = anchor;
return constraint;
}
/**
* This method changes the static member constraint, and returns the constraint.
* @param int gridPositionX
* @param int gridPositionY
* @param int width
* @param int height
* @param int fill
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints makeConstraint(int gridPositionX, int gridPositionY, int width, int height, int fill, int anchor){
constraint.gridx = gridPositionX;
constraint.gridy = gridPositionY;
constraint.gridheight = height;
constraint.gridwidth = width;
constraint.fill = fill;
constraint.anchor = anchor;
return constraint;
}
/**
* This method only changes the fill value of the static member constraint, and returns the constraint.
* @param int fill
* @return GridBagConstraints
*/
public static GridBagConstraints changeFill(int fill){
constraint.fill = fill;
return constraint;
}
/**
* This method only changes the anchor value of the static member constraint, and returns the constraint.
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints changeAnchor(int anchor){
constraint.anchor = anchor;
return constraint;
}
}package suncertify.client;

import java.awt.GridBagLayout;
import java.awt.GridBagConstraints;

/**
* This final class helps in constucting GridBagConstraints. It has default values for the constraints, and has methods
* that allows maximum values supplied, or just change the Fill or Anchor only.
*
* This is mainly a helper class for the gui. More methods could have been added to support any changes, however,
* only those that are really needed in this client are created.
*
* @version 1.0 18-Oct-2001
*/
public final class GridBagHelper{

private static GridBagConstraints constraint = new GridBagConstraints();

{ // static initializer of the constaints default values for the app
constraint.weightx = 5;
constraint.weighty = 5;
constraint.anchor = GridBagConstraints.WEST;
constraint.ipadx = 15;
constraint.ipady = 15;
}
/**
* By making this constructor Private, it disallows someone from creating an instance of this class, which should
* not be necessary since all the methods are static.
*/
private void GridBagHelper(){
}
/**
* This method changes the static member constraint, and returns the constraint.
* Fill is not changed in this overloaded version of the method
*
* @param int gridPositionX
* @param int gridPositionY
* @param int width
* @param int height
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints makeConstraint(int gridPositionX, int gridPositionY, int width, int height, int anchor){
constraint.gridx = gridPositionX;
constraint.gridy = gridPositionY;
constraint.gridheight = height;
constraint.gridwidth = width;
constraint.anchor = anchor;
return constraint;
}
/**
* This method changes the static member constraint, and returns the constraint.
* @param int gridPositionX
* @param int gridPositionY
* @param int width
* @param int height
* @param int fill
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints makeConstraint(int gridPositionX, int gridPositionY, int width, int height, int fill, int anchor){
constraint.gridx = gridPositionX;
constraint.gridy = gridPositionY;
constraint.gridheight = height;
constraint.gridwidth = width;
constraint.fill = fill;
constraint.anchor = anchor;
return constraint;
}
/**
* This method only changes the fill value of the static member constraint, and returns the constraint.
* @param int fill
* @return GridBagConstraints
*/
public static GridBagConstraints changeFill(int fill){
constraint.fill = fill;
return constraint;
}
/**
* This method only changes the anchor value of the static member constraint, and returns the constraint.
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints changeAnchor(int anchor){
constraint.anchor = anchor;
return constraint;
}
}
package suncertify.client;

import java.awt.GridBagLayout;
import java.awt.GridBagConstraints;

/**
* This final class helps in constucting GridBagConstraints. It has default values for the constraints, and has methods
* that allows maximum values supplied, or just change the Fill or Anchor only.
*
* This is mainly a helper class for the gui. More methods could have been added to support any changes, however,
* only those that are really needed in this client are created.
*
* @version 1.0 18-Oct-2001
*/
public final class GridBagHelper{

private static GridBagConstraints constraint = new GridBagConstraints();

{ // static initializer of the constaints default values for the app
constraint.weightx = 5;
constraint.weighty = 5;
constraint.anchor = GridBagConstraints.WEST;
constraint.ipadx = 15;
constraint.ipady = 15;
}
/**
* By making this constructor Private, it disallows someone from creating an instance of this class, which should
* not be necessary since all the methods are static.
*/
private void GridBagHelper(){
}
/**
* This method changes the static member constraint, and returns the constraint.
* Fill is not changed in this overloaded version of the method
*
* @param int gridPositionX
* @param int gridPositionY
* @param int width
* @param int height
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints makeConstraint(int gridPositionX, int gridPositionY, int width, int height, int anchor){
constraint.gridx = gridPositionX;
constraint.gridy = gridPositionY;
constraint.gridheight = height;
constraint.gridwidth = width;
constraint.anchor = anchor;
return constraint;
}
/**
* This method changes the static member constraint, and returns the constraint.
* @param int gridPositionX
* @param int gridPositionY
* @param int width
* @param int height
* @param int fill
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints makeConstraint(int gridPositionX, int gridPositionY, int width, int height, int fill, int anchor){
constraint.gridx = gridPositionX;
constraint.gridy = gridPositionY;
constraint.gridheight = height;
constraint.gridwidth = width;
constraint.fill = fill;
constraint.anchor = anchor;
return constraint;
}
/**
* This method only changes the fill value of the static member constraint, and returns the constraint.
* @param int fill
* @return GridBagConstraints
*/
public static GridBagConstraints changeFill(int fill){
constraint.fill = fill;
return constraint;
}
/**
* This method only changes the anchor value of the static member constraint, and returns the constraint.
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints changeAnchor(int anchor){
constraint.anchor = anchor;
return constraint;
}
}
package suncertify.client;

import java.awt.GridBagLayout;
import java.awt.GridBagConstraints;

/**
* This final class helps in constucting GridBagConstraints. It has default values for the constraints, and has methods
* that allows maximum values supplied, or just change the Fill or Anchor only.
*
* This is mainly a helper class for the gui. More methods could have been added to support any changes, however,
* only those that are really needed in this client are created.
*
* @version 1.0 18-Oct-2001
*/
public final class GridBagHelper{

private static GridBagConstraints constraint = new GridBagConstraints();

{ // static initializer of the constaints default values for the app
constraint.weightx = 5;
constraint.weighty = 5;
constraint.anchor = GridBagConstraints.WEST;
constraint.ipadx = 15;
constraint.ipady = 15;
}
/**
* By making this constructor Private, it disallows someone from creating an instance of this class, which should
* not be necessary since all the methods are static.
*/
private void GridBagHelper(){
}
/**
* This method changes the static member constraint, and returns the constraint.
* Fill is not changed in this overloaded version of the method
*
* @param int gridPositionX
* @param int gridPositionY
* @param int width
* @param int height
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints makeConstraint(int gridPositionX, int gridPositionY, int width, int height, int anchor){
constraint.gridx = gridPositionX;
constraint.gridy = gridPositionY;
constraint.gridheight = height;
constraint.gridwidth = width;
constraint.anchor = anchor;
return constraint;
}
/**
* This method changes the static member constraint, and returns the constraint.
* @param int gridPositionX
* @param int gridPositionY
* @param int width
* @param int height
* @param int fill
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints makeConstraint(int gridPositionX, int gridPositionY, int width, int height, int fill, int anchor){
constraint.gridx = gridPositionX;
constraint.gridy = gridPositionY;
constraint.gridheight = height;
constraint.gridwidth = width;
constraint.fill = fill;
constraint.anchor = anchor;
return constraint;
}
/**
* This method only changes the fill value of the static member constraint, and returns the constraint.
* @param int fill
* @return GridBagConstraints
*/
public static GridBagConstraints changeFill(int fill){
constraint.fill = fill;
return constraint;

package suncertify.client;

import java.awt.GridBagLayout;
import java.awt.GridBagConstraints;

/**
* This final class helps in constucting GridBagConstraints. It has default values for the constraints, and has methods
* that allows maximum values supplied, or just change the Fill or Anchor only.
*
* This is mainly a helper class for the gui. More methods could have been added to support any changes, however,
* only those that are really needed in this client are created.
*
* @version 1.0 18-Oct-2001
*/
public final class GridBagHelper{

private static GridBagConstraints constraint = new GridBagConstraints();

{ // static initializer of the constaints default values for the app
constraint.weightx = 5;
constraint.weighty = 5;
constraint.anchor = GridBagConstraints.WEST;
constraint.ipadx = 15;
constraint.ipady = 15;
}
/**
* By making this constructor Private, it disallows someone from creating an instance of this class, which should
* not be necessary since all the methods are static.
*/
private void GridBagHelper(){
}
/**
* This method changes the static member constraint, and returns the constraint.
* Fill is not changed in this overloaded version of the method
*
* @param int gridPositionX
* @param int gridPositionY
* @param int width
* @param int height
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints makeConstraint(int gridPositionX, int gridPositionY, int width, int height, int anchor){
constraint.gridx = gridPositionX;
package suncertify.client;

import java.awt.GridBagLayout;
import java.awt.GridBagConstraints;

/**
* This final class helps in constucting GridBagConstraints. It has default values for the constraints, and has methods
* that allows maximum values supplied, or just change the Fill or Anchor only.
*
* This is mainly a helper class for the gui. More methods could have been added to support any changes, however,
* only those that are really needed in this client are created.
*
* @version 1.0 18-Oct-2001
*/
public final class GridBagHelper{

private static GridBagConstraints constraint = new GridBagConstraints();

{ // static initializer of the constaints default values for the app
constraint.weightx = 5;
constraint.weighty = 5;
constraint.anchor = GridBagConstraints.WEST;
constraint.ipadx = 15;
constraint.ipady = 15;
}
/**
* By making this constructor Private, it disallows someone from creating an instance of this class, which should
* not be necessary since all the methods are static.
*/
private void GridBagHelper(){
}
/**
* This method changes the static member constraint, and returns the constraint.
package suncertify.client;

import java.awt.GridBagLayout;
import java.awt.GridBagConstraints;

/**
* This final class helps in constucting GridBagConstraints. It has default values for the constraints, and has methods
* that allows maximum values supplied, or just change the Fill or Anchor only.
*
* This is mainly a helper class for the gui. More methods could have been added to support any changes, however,
* only those that are really needed in this client are created.
*
* @version 1.0 18-Oct-2001
*/
public final class GridBagHelper{

private static GridBagConstraints constraint = new GridBagConstraints();

{ // static initializer of the constaints default values for the app
constraint.weightx = 5;
constraint.weighty = 5;
constraint.anchor = GridBagConstraints.WEST;
constraint.ipadx = 15;
constraint.ipady = 15;
}
/**
* By making this constructor Private, it disallows someone from creating an instance of this class, which should
* not be necessary since all the methods are static.
*/
private void GridBagHelper(){
}
/**
* This method changes the static member constraint, and returns the constraint.
package suncertify.client;

import java.awt.GridBagLayout;
import java.awt.GridBagConstraints;

/**
* This final class helps in constucting GridBagConstraints. It has default values for the constraints, and has methods
* that allows maximum values supplied, or just change the Fill or Anchor only.
*
* This is mainly a helper class for the gui. More methods could have been added to support any changes, however,
* only those that are really needed in this client are created.
*
* @version 1.0 18-Oct-2001
*/
public final class GridBagHelper{

private static GridBagConstraints constraint = new GridBagConstraints();

{ // static initializer of the constaints default values for the app
constraint.weightx = 5;
constraint.weighty = 5;
constraint.anchor = GridBagConstraints.WEST;
constraint.ipadx = 15;
constraint.ipady = 15;
}
/**
* By making this constructor Private, it disallows someone from creating an instance of this class, which should
* not be necessary since all the methods are static.
*/
private void GridBagHelper(){
}
/**
* This method changes the static member constraint, and returns the constraint.
* Fill is not changed in this overloaded version of the method
*
* @param int gridPositionX
* @param int gridPositionY
* @param int width
* @param int height
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints makeConstraint(int gridPositionX, int gridPositionY, int width, int height, int anchor){
constraint.gridx = gridPositionX;
constraint.gridy = gridPositionY;
constraint.gridheight = height;
constraint.gridwidth = width;
constraint.anchor = anchor;
return constraint;
}
/**
* This method changes the static member constraint, and returns the constraint.
* @param int gridPositionX
* @param int gridPositionY
* @param int width
* @param int height
* @param int fill
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints makeConstraint(int gridPositionX, int gridPositionY, int width, int height, int fill, int anchor){
constraint.gridx = gridPositionX;
constraint.gridy = gridPositionY;
constraint.gridheight = height;
constraint.gridwidth = width;
constraint.fill = fill;
constraint.anchor = anchor;
return constraint;
}
/**
* This method only changes the fill value of the static member constraint, and returns the constraint.
* @param int fill
* @return GridBagConstraints
*/
public static GridBagConstraints changeFill(int fill){
constraint.fill = fill;
return constraint;
}
/**
* This method only changes the anchor value of the static member constraint, and returns the constraint.
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints changeAnchor(int anchor){
constraint.anchor = anchor;
return constraint;
}
}
* Fill is not changed in this overloaded version of the method
*
* @param int gridPositionX
* @param int gridPositionY
* @param int width
* @param int height
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints makeConstraint(int gridPositionX, int gridPositionY, int width, int height, int anchor){
constraint.gridx = gridPositionX;
constraint.gridy = gridPositionY;
constraint.gridheight = height;
constraint.gridwidth = width;
constraint.anchor = anchor;
return constraint;
}
/**
* This method changes the static member constraint, and returns the constraint.
* @param int gridPositionX
* @param int gridPositionY
* @param int width
* @param int height
* @param int fill
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints makeConstraint(int gridPositionX, int gridPositionY, int width, int height, int fill, int anchor){
constraint.gridx = gridPositionX;
constraint.gridy = gridPositionY;
constraint.gridheight = height;
constraint.gridwidth = width;
constraint.fill = fill;
constraint.anchor = anchor;
return constraint;
}
/**
* This method only changes the fill value of the static member constraint, and returns the constraint.
* @param int fill
* @return GridBagConstraints
*/
public static GridBagConstraints changeFill(int fill){
constraint.fill = fill;
return constraint;
}
/**
* This method only changes the anchor value of the static member constraint, and returns the constraint.
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints changeAnchor(int anchor){
constraint.anchor = anchor;
return constraint;
}
}
* Fill is not changed in this overloaded version of the method
*
* @param int gridPositionX
* @param int gridPositionY
* @param int width
* @param int height
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints makeConstraint(int gridPositionX, int gridPositionY, int width, int height, int anchor){
constraint.gridx = gridPositionX;
constraint.gridy = gridPositionY;
constraint.gridheight = height;
constraint.gridwidth = width;
constraint.anchor = anchor;
return constraint;
}
/**
* This method changes the static member constraint, and returns the constraint.
* @param int gridPositionX
* @param int gridPositionY
* @param int width
* @param int height
* @param int fill
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints makeConstraint(int gridPositionX, int gridPositionY, int width, int height, int fill, int anchor){
constraint.gridx = gridPositionX;
constraint.gridy = gridPositionY;
constraint.gridheight = height;
constraint.gridwidth = width;
constraint.fill = fill;
constraint.anchor = anchor;
return constraint;
}
/**
* This method only changes the fill value of the static member constraint, and returns the constraint.
* @param int fill
* @return GridBagConstraints
*/
public static GridBagConstraints changeFill(int fill){
constraint.fill = fill;
return constraint;
}
/**
* This method only changes the anchor value of the static member constraint, and returns the constraint.
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints changeAnchor(int anchor){
constraint.anchor = anchor;
return constraint;
}
}
constraint.gridy = gridPositionY;
constraint.gridheight = height;
constraint.gridwidth = width;
constraint.anchor = anchor;
return constraint;
}
/**
* This method changes the static member constraint, and returns the constraint.
* @param int gridPositionX
* @param int gridPositionY
* @param int width
* @param int height
* @param int fill
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints makeConstraint(int gridPositionX, int gridPositionY, int width, int height, int fill, int anchor){
constraint.gridx = gridPositionX;
constraint.gridy = gridPositionY;
constraint.gridheight = height;
constraint.gridwidth = width;
constraint.fill = fill;
constraint.anchor = anchor;
return constraint;
}
/**
* This method only changes the fill value of the static member constraint, and returns the constraint.
* @param int fill
* @return GridBagConstraints
*/
public static GridBagConstraints changeFill(int fill){
constraint.fill = fill;
return constraint;
}
/**
* This method only changes the anchor value of the static member constraint, and returns the constraint.
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints changeAnchor(int anchor){
constraint.anchor = anchor;
return constraint;
}
}
}
/**
* This method only changes the anchor value of the static member constraint, and returns the constraint.
* @param int anchor
* @return GridBagConstraints
*/
public static GridBagConstraints changeAnchor(int anchor){
constraint.anchor = anchor;
return constraint;
}
}
[ April 01, 2005: Message edited by: Mark Spritzler ]
 
author
Posts: 14112
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
That's simple to answer: you used GridBagLayout.
 
Sheriff
Posts: 11343
Mac Safari Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Just make this native, and it should compile.
 
Sheriff
Posts: 13411
Firefox Browser VI Editor Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Needs more nesting.
Should have at least 15 curly braces stacked up at the bottom.
 
town drunk
( and author)
Posts: 4118
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Varibles names: they'll getchaeverytime
 
Ranch Hand
Posts: 3061
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It's a PEBKAC error.

Layne
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser VI Editor Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
WHAT'S WRONG WITH THIS THREAD
 
Ranch Hand
Posts: 149
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
 
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Please post more information.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic