I have an assignment for university that requires me to use a Jpanel with a JToolbar which contains buttons for different sorting algorithms, the algorithms then sort an array of random numbers and draws a histogram representation to the Jpanel.
As I look at the mark scheme to gain higher marks I must implement other features, my question is how can I create multiple jpanels in java that are inter linked like a windows forms application in c# where the click of a button can hide the current form and switch it to another.