Izzy Nakash
Izzy Nakash

Reputation: 187

How get AWT in Eclipse?

I am trying to run an Abstract Window Toolkit in Eclipse ide. But when i try to import a awt package like "import java.awt.Frame;" i get an error saying cannot be resolved. I have Jogl installed. How do i get AWT in eclipse?

Upvotes: 2

Views: 26475

Answers (1)

pjivers
pjivers

Reputation: 1939

You need to import a jar that includes java.awt.Frame. The only one I can see is rt.jar, which is the RunTime jar (contains most of the core Java packages). You can find it here!

Upvotes: 3

Related Questions