JPopupMenu closes when child popup opens
I have a JComboBox (among other components) inside a JPopupMenu. It turns out that whenever I open the combo box's popup (to select an item), the parent JPopupMenu closes. I've been trying to find a way to override this feature, to no avail. Does anyone have any suggestions to prevent closing the parent JPopupMenu? Thanks! that not possible directly, its very hard to override known bug , in other hands Swing doesn't allows two lightwieght popup components in same time import javax.swing.*; import java.awt.event.*; public class Test { public static void main(String[] args) { JFrame frame = new