Skip to content
Snippets Groups Projects
Commit c79253b3 authored by Vesa Lappalainen's avatar Vesa Lappalainen :bicyclist:
Browse files

Tallennetaan samalle nimelle kuin luettiin

parent 61910dce
No related branches found
No related tags found
No related merge requests found
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER">
<attributes>
<attribute name="module" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.jdt.junit.JUNIT_CONTAINER/5"/>
<classpathentry kind="con" path="org.eclipse.jdt.USER_LIBRARY/ohj2"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="output" path="bin"/>
</classpath>
1|2|Pitsin nypläys|1927|40
2|2|Pitsin nypläys|1908|8
3|2|Pitsin nypläys|1994|47
4|5|Pitsin nypläys|1934|51
5|5|Pitsin nypläys|1942|51
6|5|Pitsin nypläys|1983|49
7|5|Pitsin nypläys|1984|47
8|5|Pitsin nypläys|1975|22
1|Ankka Aku 8211|180855-686C|Paratiisitie 13|12345|ANKKALINNA|12-1234|||1996|50.0|30.0|Velkaa Roopelle
2|Ankka Aku 9021|030362-669X|Paratiisitie 13|12345|ANKKALINNA|12-1234|||1996|50.0|30.0|Velkaa Roopelle
3|Ankka Aku 5866|090723-713C|Paratiisitie 13|12345|ANKKALINNA|12-1234|||1996|50.0|30.0|Velkaa Roopelle
4|Ankka Aku 8989|130312-0362|Paratiisitie 13|12345|ANKKALINNA|12-1234|||1996|50.0|30.0|Velkaa Roopelle
5|Ankka Aku 5033|040130-113S|Paratiisitie 13|12345|ANKKALINNA|12-1234|||1996|50.0|30.0|Velkaa Roopelle
......@@ -169,7 +169,6 @@ public class KerhoGUIController implements Initializable {
* @param nimi tiedosto josta kerhon tiedot luetaan
*/
protected void lueTiedosto(String nimi) {
kerhonnimi = nimi;
kerhonnimi = nimi;
setTitle("Kerho - " + kerhonnimi);
try {
......@@ -198,7 +197,7 @@ public class KerhoGUIController implements Initializable {
*/
private void tallenna() {
try {
kerho.tallenna("kelmit");
kerho.tallenna(kerhonnimi);
} catch (SailoException e) {
Dialogs.showMessageDialog(e.getMessage());
}
......
0 * 5 = 0
1 * 5 = 5
2 * 5 = 10
3 * 5 = 15
4 * 5 = 20
5 * 5 = 25
6 * 5 = 30
7 * 5 = 35
8 * 5 = 40
9 * 5 = 45
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="output" path="bin"/>
</classpath>
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>live19</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>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment