Ask Question
29 March, 14:25

Given a JFrame variable named frame, write a statement that makes the frame visible.

+1
Answers (1)
  1. 29 March, 14:52
    0
    import javax. swing. JFrame;

    public class Main {

    public static void main (String[] args) {

    / / Create a frame

    JFrame frame = new JFrame ("Swing");

    / / Display the frame

    frame. setVisible (true);

    }

    }
Know the Answer?
Not Sure About the Answer?
Find an answer to your question 👍 “Given a JFrame variable named frame, write a statement that makes the frame visible. ...” in 📗 English if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers