Advertisement
Guest User

Untitled

a guest
Jul 4th, 2011
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.47 KB | None | 0 0
  1.     public static GridBagConstraints createGridBagConstraints(int gridx, int gridy,
  2.             int gridwidth, int gridheight,
  3.             double weightx, double weighty, int fill)
  4.     {
  5.         GridBagConstraints c = new GridBagConstraints();
  6.         c.gridx = gridx;
  7.         c.gridy = gridy;
  8.         c.gridwidth = gridwidth;
  9.         c.gridheight = gridheight;
  10.         c.weightx = weightx;
  11.         c.weighty = weighty;
  12.         c.fill = fill;
  13.  
  14.         return c;
  15.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement