I have two Swing GUI.I successfully transferred some information between each other.
My problem is that,i try to show byte array in JLabel. I wrote code, but I can't show my image, because byte array is large. Here is source
jPanel1.setLayout(new FlowLayout());
ImageIcon icon = new ImageIcon(byteArray);
JLabel label = new JLabel();
label.setIcon(icon);
jPanel1.add(label);
I tested another small byte array (I inserted it in google) and it's working. Is it a possible to resize byte array before put in in another GUI? How i can solve my problem? Thanks