gov.nih.nlm.nls.lvg.Tools.GuiTool.GuiLib.GridBag Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of lvg2010dist Show documentation
Show all versions of lvg2010dist Show documentation
LVG tools is used by Apache cTAKES.
The newest version!
package GuiTool.GuiLib;
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import javax.swing.event.*;
public class GridBag extends JPanel
{
public static void SetWeight(GridBagConstraints gbc, int weightx,
int weighty)
{
gbc.weightx = weightx;
gbc.weighty = weighty;
}
public static void SetPosSize(GridBagConstraints gbc, int x, int y,
int width, int height)
{
gbc.gridx = x;
gbc.gridy = y;
gbc.gridwidth = width;
gbc.gridheight = height;
}
private final static long serialVersionUID = 5L;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy