Size makes the Layout hurt my Eyes less
This commit is contained in:
parent
4c54ba5d4b
commit
cad9726d0d
@ -7,7 +7,7 @@ public class Demo {
|
|||||||
// w.display();
|
// w.display();
|
||||||
// }
|
// }
|
||||||
|
|
||||||
aufg gudWindow = new aufg("Mein Geniales GUI", 700, 420);
|
aufg gudWindow = new aufg("Mein Geniales GUI", 400, 340);
|
||||||
gudWindow.loadDesign2();
|
gudWindow.loadDesign2();
|
||||||
gudWindow.display(true);
|
gudWindow.display(true);
|
||||||
|
|
||||||
|
@ -35,7 +35,7 @@ public class aufg {
|
|||||||
addMenuBar();
|
addMenuBar();
|
||||||
addLabel("Von");
|
addLabel("Von");
|
||||||
addLabeledTextField("Bahnhof/Haltestelle", false);
|
addLabeledTextField("Bahnhof/Haltestelle", false);
|
||||||
addImage("Medien/Bilder/info_I.png");
|
addImage("Medien/Bilder/info_I_tiny.png");
|
||||||
addLabel("Nach");
|
addLabel("Nach");
|
||||||
addLabeledTextField("Bahnhof/Haltestelle", false);
|
addLabeledTextField("Bahnhof/Haltestelle", false);
|
||||||
addButton("über");
|
addButton("über");
|
||||||
@ -52,16 +52,16 @@ public class aufg {
|
|||||||
// addDropdown(values = {"Keine Ermäßigung", "20% Rabatt"})
|
// addDropdown(values = {"Keine Ermäßigung", "20% Rabatt"})
|
||||||
// addDropDown(values = {"2. Klasse", "1. Klasse"})
|
// addDropDown(values = {"2. Klasse", "1. Klasse"})
|
||||||
addButton("Personen Hinzufügen");
|
addButton("Personen Hinzufügen");
|
||||||
addImage("Medien/Bilder/info_I.png");
|
addImage("Medien/Bilder/info_I_tiny.png");
|
||||||
addButton("Auslandspreise");
|
addButton("Auslandspreise");
|
||||||
addImage("Medien/Bilder/info_I.png");
|
addImage("Medien/Bilder/info_I_tiny.png");
|
||||||
addLabel("Angaben zur Verbindung");
|
addLabel("Angaben zur Verbindung");
|
||||||
addLabel("Verkehrsmittel: ");
|
addLabel("Verkehrsmittel: ");
|
||||||
// addDropDown(values = {"Standartsuche", "Spezialsuche"})
|
// addDropDown(values = {"Standartsuche", "Spezialsuche"})
|
||||||
addButton("Erweitert");
|
addButton("Erweitert");
|
||||||
addImage("Medien/Bilder/info_I.png");
|
addImage("Medien/Bilder/info_I_tiny.png");
|
||||||
// addCheckBox(label = "schnelle Verbindung bevorzugen")
|
// addCheckBox(label = "schnelle Verbindung bevorzugen")
|
||||||
addImage("Medien/Bilder/info_I.png");
|
addImage("Medien/Bilder/info_I_tiny.png");
|
||||||
// addCheckBox(label = "Fahrradmitnahme")
|
// addCheckBox(label = "Fahrradmitnahme")
|
||||||
addButton("Verbindung Suchen");
|
addButton("Verbindung Suchen");
|
||||||
addButton("Neue Anfrage");
|
addButton("Neue Anfrage");
|
||||||
@ -72,12 +72,12 @@ public class aufg {
|
|||||||
addMenuBar();
|
addMenuBar();
|
||||||
addLabeledTextField("TextBox", true);
|
addLabeledTextField("TextBox", true);
|
||||||
addLabeledPasswordField("Password", true);
|
addLabeledPasswordField("Password", true);
|
||||||
addImage("Medien/Bilder/info_I.png");
|
addImage("Medien/Bilder/info_I_tiny.png");
|
||||||
addImage("Medien/Bilder/HackerUnicorn_Schäbig.png");
|
addImage("Medien/Bilder/HackerUnicorn_Schäbig.png");
|
||||||
addLabeledRadioButtons("First Set of radiobuttons", new String[] {"Option1", "Choice2", "Variant3"}, true);
|
addLabeledRadioButtons("First Set of radiobuttons", new String[] {"Option1", "Choice2", "Variant3"}, true);
|
||||||
addLabeledRadioButtons("Second Group of Options", new String[] {"Maybe this?", "Or that"}, true);
|
addLabeledRadioButtons("Second Group of Options", new String[] {"Maybe this?", "Or that"}, true);
|
||||||
// popUpInputText(new String[] {"Choice1", "Option2"});
|
// popUpInputText(new String[] {"Choice1", "Option2"});
|
||||||
popUpDropDown("Medien/Bilder/info_I.png",
|
popUpDropDown("Medien/Bilder/info_I_tiny.png",
|
||||||
"Title of my Window",
|
"Title of my Window",
|
||||||
"choose your favourite",
|
"choose your favourite",
|
||||||
new String[] {"Choice1", "Option2"},
|
new String[] {"Choice1", "Option2"},
|
||||||
|
Loading…
Reference in New Issue
Block a user