[nbdev] DemoModule can't insert Lookup class

  • From: "BramVDB" < >
  • To:
  • Subject: [nbdev] DemoModule can't insert Lookup class
  • Date: Mon, 30 Jul 2012 17:17:40 -0400

Hi, 

I have a problem when I import the Lookup class in Netbeans7.1.2 (JDK7).
Tutorial 2 of "Top 10 Netbeans API"

I import org.openide.util.Lookup in the module, but no result.

Lookup.getDefault().lookupAll(DemoInterface.class) can't be compiled.

Next error occur:

error: cannot find symbol
        for(DemoInterface sInterface : 
Lookup.getDefault().lookupAll(DemoInterface.class)){
  symbol:   method getDefault()
  location: class Lookup

Can somebody help me with this problem?

Best Regards






[nbdev] DemoModule can't insert Lookup class

BramVDB 07/30/2012

Project Features

About this Project

www was started in November 2009, is owned by jpirek, and has 21 members.
By use of this website, you agree to the NetBeans Policies and Terms of Use (revision 20131025.e7cbc9d). © 2013, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo
 
 
Close
loading
Please Confirm
Close