handel = doc.getText(0, doc.getLength()).substring(posdepart, doc.getText(0, doc.getLength()).indexOf(" "));// sans , posdepart + 1));
break MISSING_BLOCK_LABEL_299;
int pos = textzone.viewToModel(e.getPoint()); elem = textzone.getStyledDocument().getCharacterElement(pos); as = elem.getAttributes(); int posdepart = pos; System.out.println("posdepart: + posdepart"); // = pixels <<<<<<<<<<<< for(; StyleConstants.getBidiLevel(as) 20; as textzone.getStyledDocument().getCharacterElement(posdepart).getAttributes()) { posdepart--; } System.out.println("posdepart: + posdepart"); // = ??? <<<<<<<<<<<<<<<
handel = null; doc = textzone.getDocument(); try { /* handel = doc.getText(0, doc.getLength()).substring(posdepart, doc.getText(0, doc.getLength()).indexOf(" ", posdepart + 1)); */ handel = doc.substring(0, doc.indexOf(" ")); System.out.println("\nhandel = " + """ + handel + """); }
Vous n’avez pas trouvé la réponse que vous recherchez ?
Posez votre questionbreak ;