i want to make the text overflow, but idk how to do it
// create a new frame to store text field and button
JFrame f = new JFrame("debug menu");
// create a label to display text
JLabel l = new JLabel("FPS: "+ FPS);
JLabel l = new JLabel("Key: "+ hasKey);
// create a panel
JPanel p = new JPanel();
// add label to panel
p.add(l);
// add panel to frame
f.add(p);
// set the size of frame
f.setSize(500, 500);
f.show();