Trying to use hardcoded class file

Kevinnnn <[email protected]> Tue, 9 Oct 2007 05:32:03 -0700 (PDT)
Newsgroups gmane.comp.java.netbeans.user-interface
Message-ID <[email protected]>
Hi,

I have no idea if I'm posting in the right sub, forgive me but I don't know
where a 'class' problem belongs in the subs.

This is my problem.

I want to use the hardcoded .class file of ParaIO. This is for a school
project.

I have a GUI_ project folder with several classes and one in paticular
requires ParaIO.class:
this is the Slagboom_controlebits(.java file in the src sub of the project
directory) class.

tree looks like:

-Gui
--source packages
---gui_
----Main.java
----...blabla...
----Slagboom_controlebits.java
----...blabla...
---gui_.ParaIO
----ParaIO.class

Now, I don't have the sourcecode from ParaIO. There is no ParaIO.java file!
It doesn't exist, the ParaIO.class file comes without sourcecode. But I
still have to use it, because there are methods in it which are designed to
operate a machine.

So, I have this code in Slagboom_controlebits:

package gui;
import gui_.ParaIO;
ParaIO parallel = new ParaIO();

this works, but then netbeans tells me it can't find symbol:
parallel.par_read();

par_read is a method of ParaIO(.class). I need to use it, how do I do
this???
-- 
View this message in context: http://www.nabble.com/Trying-to-use-hardcoded-class-file-tf4593904.html#a13114623
Sent from the Netbeans - UI mailing list archive at Nabble.com.