Apparently i understood this example all wrong. I will research on it, thank you norm.
Edit: I read so many articles and i saw that if you want to create an advanced GUI, you have to use hard...
Type: Posts; User: Onur
Apparently i understood this example all wrong. I will research on it, thank you norm.
Edit: I read so many articles and i saw that if you want to create an advanced GUI, you have to use hard...
Aren't these codes adding ?
JScrollPane scroll = new JScrollPane(panelVertical,JScrollPane.VERTICAL_SCROLLBAR_ALWAYS,JScrollPane.HORIZONTAL_SCROLLBAR_ALWAYS);
mainPanel.add(panelVertical);
I have trouble with adding scrollpane to jpanel. I can't find what is the problem, when i run the program scrollpane is not showing.
import java.awt.Dimension;
import java.awt.GridLayout; ...