I created a JDialog box where it has 2 radio button which will change the JLabel whenever I clicked the other button(for example: Monthly salary when I click the full time button and hourly pay when i click the part time button)
So my questions is how do i do that? Do I create ActionListener for the radioButton and create the those JPanel inside the the actionPerformed class?