Print text from database
Last Updated: Sep 23 2017 10:12, Started by
tepesdanu
, Sep 23 2017 09:37
·
0
#1
Posted 23 September 2017 - 09:37
Buna. Incerc sa printez din baza de date un text. In poza atasata este textul.
http://prntscr.com/gon0n3 Dupa cum puteti vedea, nu este redat in intregime, pentru ca JLabelul nu are lungimea necesara. Dar de ce nu trece din rand nou ? Cum se poate de rezolvat asta ? poate trebuie folosit un alt element? cu JtextField aceeasi chestie. Edited by tepesdanu, 23 September 2017 - 09:39. |
#3
Posted 23 September 2017 - 09:48
neagu_laurentiu, on 23 septembrie 2017 - 09:45, said:
JTextArea http://prntscr.com/gon3ov Doar ca manual poti sa apesi enter si sa vezi restul enuntului. Edited by tepesdanu, 23 September 2017 - 09:49. |
#4
Posted 23 September 2017 - 09:55
Aplica wrapping cu setLineWrap
https://docs.oracle....ineWrap(boolean) Edited by dani.user, 23 September 2017 - 09:56. |
#5
Posted 23 September 2017 - 10:12
Anunturi
Bun venit pe Forumul Softpedia!
▶ 0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users