Chce wypisac cala array liste w JTextPane
zrobilem tak zeby wypisywalo cala liste ale jak pozbyc sie kwadratowych nawiasow:
Accommodation details:[
Single bedroom 1= Length: 0m, Width: 0m, Area: 0m²,
Double bedroom 1= Length: 0m, Width: 0m, Area: 0m²,
Double bedroom 2= Length: 0m, Width: 0m, Area: 0m²,
Bathroom 1= Length: 0m, Width: 0m, Area: 0m²,
Kitchen 1= Length: 0m, Width: 0m, Area: 0m²,
LivingRoom 1= Length: 0m, Width: 0m, Area: 0m²]
Wiem ze moglbym iterowac lupa for i wypisac elementy ale to tylko wiem jak zastosowac do System.out.println a nie wiem jak do JTextPane