Folge dem Video um zu sehen, wie unsere Website als Web-App auf dem Startbildschirm installiert werden kann.
Anmerkung: Diese Funktion ist in einigen Browsern möglicherweise nicht verfügbar.
public void tabellePruefen()
{
boolean ok = false;
double inhaltx = 0, inhalty = 0;
int row = tableModel.getRowCount();
xWerte = new double[row];
yWerte = new double[row];
int i;
while(ok == false)
{
for (i = 0; i < row ; i++)
{
if (tabelle.isEditing())
{
tabelle.getCellEditor(i,0).stopCellEditing();
}
String x = tableModel.getValueAt(i,1).toString();
String y = tableModel.getValueAt(i,2).toString();
if (x.length()==0 || y.length()==0)
{
JOptionPane.showMessageDialog(panelGebundeneHochrechnung, "Bitte alle Zellen der Tabelle ausfühlen!",
null, JOptionPane.ERROR_MESSAGE, null );
break;
}
xWerte[i] = Double.parseDouble(x.replace(',','.'));
yWerte[i] = Double.parseDouble(y.replace(',','.'));
}
if (i == (row-1))
{
eingabe = true;
}
}
}