and the JOptionPane ( i showed you already )
also not usable ( just to get you started )
Someone with a bit of free time please help me with receiving int data as IntList ?
( it is functioning code and i expected that you test and comment )
now while button on screen take space they allow well to show each number…
and not forget, that also could be just a first screen for data input,
while your graph would be a second screen ( after press a button called “PLOT” … )