Miglioria GUI

This commit is contained in:
La Programmatrice Verde
2026-03-03 16:36:01 +01:00
parent 6184ec940f
commit ebcfdb4299
10 changed files with 199 additions and 146 deletions

View File

@@ -15,6 +15,7 @@ import java.util.Date;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
/**
*
@@ -80,7 +81,7 @@ public class ContoCorrente {
}
private void logSaldoCorrente() throws IOException{
log("Saldo corrente: " + this.saldo + "\n");
log("Saldo corrente: " + this.saldo);
}
private void log(String messaggio) throws IOException{
@@ -100,6 +101,7 @@ public class ContoCorrente {
}
}
@JsonIgnore
public String getLog() throws IOException{
try (BufferedReader br = new BufferedReader(
new FileReader(MyBank.PATH_CONTI + "movimenti_" + this.numeroContoCorrente + ".txt"))) {