The company I work for isnt too wild about the idea of external libraries. As is, we are purchasing SmartXLS for this particular project.
Type: Posts; User: aussiemcgr
The company I work for isnt too wild about the idea of external libraries. As is, we are purchasing SmartXLS for this particular project.
Ok, so I overlooked something very significant when I wrote my code example earlier. The Scrollable Panel does not just contain the JLabel. Specifically, my full program's Scrollable Panel will...
This is the best I could do to replicate the issue in a way that I can actually show (work restrictions):
import javax.swing.*;
import java.awt.event.ActionEvent;
import...
Well, when the JFrame is begins there is not image on the JLabel. It is only after the user's input does an image load. Before then, I have no idea what the size of the image will be.
So I added...
Can anyone help me figure out how to create a dynamically sized scrollable JPanel?
Here is a snippet of my code:
JPanel outputPane = new JPanel();
outputPane.setPreferredSize(new...