|
|
@ -8,6 +8,8 @@ import java.awt.event.ActionEvent; |
|
|
|
import java.awt.event.ActionListener; |
|
|
|
import java.util.ArrayList; |
|
|
|
import java.util.LinkedList; |
|
|
|
import java.lang.Character; |
|
|
|
|
|
|
|
|
|
|
|
public class TasksFrame extends JFrame { |
|
|
|
|
|
|
@ -191,8 +193,6 @@ public class TasksFrame extends JFrame { |
|
|
|
return Math.round(result * 100.0) / 100.0; |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private void setupDurchschnitt() { |
|
|
|
|
|
|
|
JPanel jPanel = setupPanel("Durchschnitt"); |
|
|
@ -247,8 +247,6 @@ public class TasksFrame extends JFrame { |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private void setupExponent() { |
|
|
|
|
|
|
|
JPanel jPanel = setupPanel("Potenzrechner"); |
|
|
@ -391,6 +389,7 @@ public class TasksFrame extends JFrame { |
|
|
|
return steuer; |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
private void setupSteuer() |
|
|
|
{ |
|
|
|
JPanel jPanel = setupPanel("Steuer Berechner von Kaufprodukten"); |
|
|
@ -980,6 +979,13 @@ public class TasksFrame extends JFrame { |
|
|
|
jPanel.add(k); |
|
|
|
} |
|
|
|
|
|
|
|
public int bin1(int a, int b) |
|
|
|
{ |
|
|
|
int x = 0; |
|
|
|
x = a*a + 2*a*b + b*b; |
|
|
|
return x; |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public void setupArea() |
|
|
|
{ |
|
|
|