C
Crono
I am trying to create a popup window that will contain text, and also
contain a button. I have already created two seperate custom components
for this purpose, but I can't seem to be able to join them together. I
get the error "add(java.awt.PopupMenu) in java.awt.Component cannot be
applied to (java.awt.popupButton)". I'm not understanding why I can
only add a PopupMenu to a component. Is there any way of adding a
component to another component?
contain a button. I have already created two seperate custom components
for this purpose, but I can't seem to be able to join them together. I
get the error "add(java.awt.PopupMenu) in java.awt.Component cannot be
applied to (java.awt.popupButton)". I'm not understanding why I can
only add a PopupMenu to a component. Is there any way of adding a
component to another component?