I have an application that includes a JTabbedPane and two tabs with some components. My problem is when I click on another tab, it’s components do not appear immediately; but when the mouse courser moves over each component (JCheckBox, JButton and so on) of the tab, the components will appear but not correctly (see below image).
alt text http://hivaonline.persiangig.com/1.gif
alt text http://hivaonline.persiangig.com/2.gif
thanks a milion for your response, the problem was calling repaint() of a component that called when i changing it position, the location of marker must be change every time the map move by user or page event occurred, so i think calling repaint() caused a loop and other component not paint correctly.