tried to learn create menu of connect

need to implement the ActionListener and need to combine it to main
frame