Some Swing Components not showing on JFrame
问题 I've got a serious problem. When I try to add 2 JRadioButtons and a JLabel on my JFrame, it doesn't work. They are not showing, but other elements do. The funny thing is, that other components which I added before (also JLabels) are visible on the JFrame. All swing components are added over a container 'panel' which is the content pane of the JFrame. I'm using Java DK 7 u67. Here's the code: (Scroll down to /*This code doesn't work */ ) public class UDP_FileTransfer implements KeyListener,