Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public static GridBagConstraints createGridBagConstraints(int gridx, int gridy,
- int gridwidth, int gridheight,
- double weightx, double weighty, int fill)
- {
- GridBagConstraints c = new GridBagConstraints();
- c.gridx = gridx;
- c.gridy = gridy;
- c.gridwidth = gridwidth;
- c.gridheight = gridheight;
- c.weightx = weightx;
- c.weighty = weighty;
- c.fill = fill;
- return c;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement