Doing header with columns

can someone explain me why this line of code: System.out.printf(“%-6s”, “Num”, “%-10s”, “Nome”, “%-18s”, “Idade Automóvel”, “%-15s”, “Total de Prémios”); Does this: Num Instead of this: Num …

Netbeans 8.2 with jdk 9

I have an issue on hdpi with netbeans, the icon become too small when I open it. Then I found the issue below. And someone says that jdk9 fix the resolution problem. https://netbeans.org/bugzilla/…

JTabbedPane auto-resize

I am developing a Java Swing application with Net-Beans. the application has a JFrame with tabbed panes. Now the problem is that when the frame is maximized, the tabbed pane only covers half the page …