package com.fxb.gui; import java.awt.FlowLayout; import java.awt.GridLayout; import java.awt.TextField; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.GroupLayout.Alignment; import javax.swing.ButtonGroup;…