- Баллы
- 153
- Имя в Minecraft
- syllik
Хелп фаст ребят.
Вот такая траблка, как сдвинуть название серверка чутка вбок?
Вот Logintheme.java
Вот такая траблка, как сдвинуть название серверка чутка вбок?
Вот Logintheme.java
Код:
package net.launcher.theme;
import java.awt.Color;
import javax.swing.border.EmptyBorder;
import net.launcher.components.Align;
import net.launcher.components.ButtonStyle;
import net.launcher.components.CheckboxStyle;
import net.launcher.components.ComboboxStyle;
import net.launcher.components.ComponentStyle;
import net.launcher.components.DragbuttonStyle;
import net.launcher.components.DraggerStyle;
import net.launcher.components.LinklabelStyle;
import net.launcher.components.PassfieldStyle;
import net.launcher.components.ServerbarStyle;
import net.launcher.components.TextfieldStyle;
public class LoginTheme
{
public static int frameW = 460;
public static int frameH = 450;
public static ButtonStyle toGame = new ButtonStyle(108, 347, 205, 36, "font", "button_game", 16F, Color.RED, true, Align.CENTER);
public static ButtonStyle toPersonal = new ButtonStyle(570, 500, 120, 40, "font", "button", 16F, Color.GREEN, true, Align.CENTER);
public static ButtonStyle toOptions = new ButtonStyle(318, 347, 37, 36, "font", "button_settings", 16F, Color.YELLOW, true, Align.CENTER);
public static ButtonStyle toRegister = new ButtonStyle(318, 307, 36, 36, "font", "button_reg", 16F, Color.YELLOW, true, Align.CENTER);
public static CheckboxStyle savePass = new CheckboxStyle(108, 317, 56, 14, "font", "checkbox", 16F, Color.BLACK, true);
public static TextfieldStyle login = new TextfieldStyle(108, 164, 247, 36, "textfield_login", "font", 16F, Color.DARK_GRAY, Color.BLACK, new EmptyBorder(0, 35, 0, 10));
public static PassfieldStyle password = new PassfieldStyle(108, 215, 247, 36, "textfield_password", "font", 16F, Color.DARK_GRAY, Color.BLACK, "*", new EmptyBorder(0, 35, 0, 10));
public static ComponentStyle newsBrowser= new ComponentStyle(500, 500, 850, 369, "font", 16F, Color.WHITE, true);
public static LinklabelStyle links = new LinklabelStyle(520, 520, 0, "font", 16F, Color.WHITE, Color.LIGHT_GRAY);
public static DragbuttonStyle dbuttons = new DragbuttonStyle(405, 10, 17, 17, 435, 10, 17, 17, "draggbutton", true);
public static DraggerStyle dragger = new DraggerStyle(0, 0, 770, 30, "font", 16F, Color.WHITE, Align.LEFT);
public static ButtonStyle update_exe = new ButtonStyle(190, 370, 70, 40, "font", "button", 16F, Color.GREEN, true, Align.CENTER);
public static ButtonStyle update_jar = new ButtonStyle(660, 370, 70, 40, "font", "button", 16F, Color.GREEN, true, Align.CENTER);
public static ButtonStyle update_no = new ButtonStyle(515, 370, 150, 40, "font", "button", 16F, Color.RED, true, Align.CENTER);
public static ComboboxStyle servers = new ComboboxStyle(108, 265, 247, 36, "font", "combobox", 16F, Color.DARK_GRAY, true, Align.RIGHT);
public static ServerbarStyle serverbar = new ServerbarStyle(110, 410, 380, 16, "font", 17F, Color.WHITE, true);
public static float fontbasesize = 16F;
public static float fonttitlesize = 20F;
}
