Hello I have a Problem with some Buttons
I would like to create a simple GUI with JButtons but when I start the App the Buttons Positions and Size changes every Time when i start the App. I use this Code:
usr_in.setSize(120,40);
usr_in.setLocation(10,40); usr_in is a JButton
Created Like this:
JButton usr_ro = new JButton("Users");
and here I set them:
menu.setLayout(new GridLayout(1, 1, 0, 3));
menu.add(usr_ro);
I use the Libs:
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
import java.io.*;
import java.net.*;
import java.beans.*;
import java.applet.*;
import java.*;
thanks for help