Browse Source

Commit_1 Gui Erweiterung

Eduard1
Adah Boukhari 2 years ago
parent
commit
14cb265285
  1. 11
      Budget Projekt/.classpath
  2. 17
      Budget Projekt/.project
  3. 12
      Budget Projekt/.settings/org.eclipse.jdt.core.prefs
  4. BIN
      Budget Projekt/Image/Money-icon.png
  5. BIN
      Budget Projekt/Image/budgetapp.png
  6. BIN
      Budget Projekt/Image/money.png
  7. BIN
      Budget Projekt/Image/wings-icon.png
  8. BIN
      Budget Projekt/bin/MeinBudgetView/Main.class
  9. BIN
      Budget Projekt/bin/MeinBudgetView/MeinGui$1.class
  10. BIN
      Budget Projekt/bin/MeinBudgetView/MeinGui.class
  11. BIN
      Budget Projekt/bin/Money-icon.png
  12. BIN
      Budget Projekt/bin/budgetapp.png
  13. BIN
      Budget Projekt/bin/money.png
  14. BIN
      Budget Projekt/bin/wings-icon.png
  15. 9
      Budget Projekt/src/MeinBudgetView/Main.java
  16. 65
      Budget Projekt/src/MeinBudgetView/MeinGui.java

11
Budget Projekt/.classpath

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-10">
<attributes>
<attribute name="module" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="src" path="src"/>
<classpathentry kind="src" path="Image"/>
<classpathentry kind="output" path="bin"/>
</classpath>

17
Budget Projekt/.project

@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>Budget Projekt</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
</projectDescription>

12
Budget Projekt/.settings/org.eclipse.jdt.core.prefs

@ -0,0 +1,12 @@
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.targetPlatform=10
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
org.eclipse.jdt.core.compiler.compliance=10
org.eclipse.jdt.core.compiler.debug.lineNumber=generate
org.eclipse.jdt.core.compiler.debug.localVariable=generate
org.eclipse.jdt.core.compiler.debug.sourceFile=generate
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.release=enabled
org.eclipse.jdt.core.compiler.source=10

BIN
Budget Projekt/Image/Money-icon.png

After

Width: 32  |  Height: 32  |  Size: 1.8 KiB

BIN
Budget Projekt/Image/budgetapp.png

After

Width: 48  |  Height: 48  |  Size: 1.9 KiB

BIN
Budget Projekt/Image/money.png

After

Width: 32  |  Height: 32  |  Size: 1.0 KiB

BIN
Budget Projekt/Image/wings-icon.png

After

Width: 32  |  Height: 32  |  Size: 1.8 KiB

BIN
Budget Projekt/bin/MeinBudgetView/Main.class

BIN
Budget Projekt/bin/MeinBudgetView/MeinGui$1.class

BIN
Budget Projekt/bin/MeinBudgetView/MeinGui.class

BIN
Budget Projekt/bin/Money-icon.png

After

Width: 32  |  Height: 32  |  Size: 1.8 KiB

BIN
Budget Projekt/bin/budgetapp.png

After

Width: 48  |  Height: 48  |  Size: 1.9 KiB

BIN
Budget Projekt/bin/money.png

After

Width: 32  |  Height: 32  |  Size: 1.0 KiB

BIN
Budget Projekt/bin/wings-icon.png

After

Width: 32  |  Height: 32  |  Size: 1.8 KiB

9
Budget Projekt/src/MeinBudgetView/Main.java

@ -0,0 +1,9 @@
package MeinBudgetView;
public class Main {
public static void main(String[] args) {
MeinGui run = new MeinGui();
run.main(args);
}
}

65
Budget Projekt/src/MeinBudgetView/MeinGui.java

@ -0,0 +1,65 @@
package MeinBudgetView;
import java.awt.EventQueue;
import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;
import javax.swing.JTextField;
import javax.swing.JButton;
import javax.swing.JLabel;
import java.awt.Font;
public class MeinGui extends JFrame {
private JPanel contentPane;
private JTextField text1;
/**
* Launch the application.
*/
public static void main(String[] args) {
EventQueue.invokeLater(new Runnable() {
public void run() {
try {
MeinGui frame = new MeinGui();
frame.setVisible(true);
} catch (Exception e) {
e.printStackTrace();
}
}
});
}
/**
* Create the frame.
*/
public MeinGui() {
setTitle("Budget");
setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
setBounds(100, 100, 654, 368);
contentPane = new JPanel();
contentPane.setBorder(new EmptyBorder(5, 5, 5, 5));
setContentPane(contentPane);
contentPane.setLayout(null);
JButton senden = new JButton("Senden");
senden.setBounds(10, 145, 110, 23);
contentPane.add(senden);
text1 = new JTextField();
text1.setBounds(10, 111, 171, 23);
contentPane.add(text1);
text1.setColumns(10);
JLabel budegetEingeben = new JLabel("Budget eingeben");
budegetEingeben.setFont(new Font("Estrangelo Edessa", Font.BOLD, 14));
budegetEingeben.setBounds(10, 80, 110, 20);
contentPane.add(budegetEingeben);
}
}
Loading…
Cancel
Save