Ask coding questions

← Back to all posts
How do you make a JFrame project with Java?
AVAJAMES

I tried, but I just can't figure it out! Please help!

Voters
HarveyScarpeta
AVAJAMES
Comments
hotnewtop
SixBeeps

Are you having a problem with JFrame or repl.it?

AVAJAMES

@SixBeeps I'm having problems with repl.it...

SixBeeps

@AVAJAMES Okay, well what have you tried? the Repl you provided doesn't create a JFrame window...

AVAJAMES

@SixBeeps Sorry, I tried doing import javax.swing.JFrame;, but it gave me an error...

SixBeeps

@AVAJAMES The code compiles fine for me. What error are you getting?