forked from Labore/PR2-L
corrected initialization bug in FraktalDemo
parent
e5e1d8c124
commit
7c781659cf
|
|
@ -4,6 +4,27 @@
|
||||||
// Weitere Informationen finden Sie unter https://go.microsoft.com/fwlink/?linkid=830387
|
// Weitere Informationen finden Sie unter https://go.microsoft.com/fwlink/?linkid=830387
|
||||||
"version": "0.2.0",
|
"version": "0.2.0",
|
||||||
"configurations": [
|
"configurations": [
|
||||||
|
{
|
||||||
|
"type": "java",
|
||||||
|
"name": "FraktalDemoThread",
|
||||||
|
"request": "launch",
|
||||||
|
"mainClass": "FraktalDemoThread",
|
||||||
|
"projectName": "PR2-L_ada963eb"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "java",
|
||||||
|
"name": "FraktalDemoRunnable",
|
||||||
|
"request": "launch",
|
||||||
|
"mainClass": "FraktalDemoRunnable",
|
||||||
|
"projectName": "PR2-L_ada963eb"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "java",
|
||||||
|
"name": "FraktalDemo",
|
||||||
|
"request": "launch",
|
||||||
|
"mainClass": "FraktalDemo",
|
||||||
|
"projectName": "PR2-L_ada963eb"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"type": "java",
|
"type": "java",
|
||||||
"name": "DemoSortMehfachLambda",
|
"name": "DemoSortMehfachLambda",
|
||||||
|
|
|
||||||
|
|
@ -100,11 +100,14 @@ public class FraktalFenster extends JFrame implements ActionListener {
|
||||||
public void actionPerformed(ActionEvent e) {
|
public void actionPerformed(ActionEvent e) {
|
||||||
String cmd = e.getActionCommand();
|
String cmd = e.getActionCommand();
|
||||||
|
|
||||||
if(cmd.equals("Start") == true)
|
if(cmd.equals("Start") == true) {
|
||||||
lorenzFarbig();
|
weiter = true;
|
||||||
|
lorenzFarbig();
|
||||||
if(cmd.equals("Stop") == true)
|
}
|
||||||
weiter = false;
|
|
||||||
|
|
||||||
|
if(cmd.equals("Stop") == true) {
|
||||||
|
weiter = false;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue