How can I change the size of a System.out.println local variable inside a JFrame
问题 I modified some code I found to display a local variable instead of set text inside of a JFrame, but I'm unable to find a way to change the size of the text. I keep reading about frameName.setFont(new Font(____)), but that doesn't seem to be working for the println. How would I modify the text size? Here's my current code. (P.S. I'm new, so I'm sorry that i don't know what I'm talking about.) import java.util.*; import java.io.*; import java.awt.*; import javax.swing.*; import java.time.*;