Menu

#366 Auto Import Class Issue

v1.0 (example)
open
nobody
None
5
2020-12-06
2020-12-06
No

DrJava Version : drjava-20190813-220051
Compiler: JDK 8.0_241

I'm trying to create a method that reduces red eyes in pictures. The Color class is part of my method, but when I try to call the method in the Interactions Pane, I need to import the Color class into the Picture class. I was told I am supposed to get an "auto import class" popup, but I only get a message in the Interactions Pane that says "Static Error: Undefined class 'Color'".

In the quickstart of DrJava.org, it says there should be a setting in the Interactions Pane category under preferences to enable "Auto Import Dialog", but I do not have an option to enable this in preferences.

Is there another way to enable the auto import class option? What else can I do to import the Color class?

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.