No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Hi, I am trying to make thumbnail viewer and having problem putting the thumbnail in the proper place. All I am trying to do is this: [CODE] iconPanel.add(iconBar, BorderLayout.NORTH); for (int x = 0; x < 4; x++) { iconBar.add(emptyThumbnail,BorderLayout.CENTER); repaint(); validate(); } [/CODE] Ant then whenever I scroll, [CODE]for … |
|
I have a quick question: I have two classes. MainPanel and SubPanel I am putting SubPanel inside the MainPanel dynamically. So I have a method inside SubPanel called (toggleSection). All I am trying to do is that, in the MainPanel I am rearranging the components (all JPanels - instance of … |
|
Hi, I got this piece of code from this forum and i was trying to modify it so that I can make it dynamic. I modified it a little bit to add multiple collapsible panels. But I need some help. 1. I need to add these panels dynamically. If I … |