Jump to content
Sign in to follow this  
Bachraan

Java JFrame for my Game Engine :#

Recommended Posts

Hey guys. I am asking for help again. How do i import the latest Eclipse SDK JFrame? Here is a scrn shot! 

a4239796d875096a3406b51e73cb9b4e.png

As you can see, i just started the project, but i cannot import JFrame! Please help!

Share this post


Link to post
Share on other sites

All you should have to do is add this line

import javax.swing.JFrame;

below

package Main;

 

Source with more information and guide about using JFrame

http://www.javaprogrammingforums.com/java-swing-tutorials/15198-creating-simple-gui-jframe.html

 

This result was found in 15 seconds on Google by searching for "eclipse jframe example" and clicking the second result.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×