jrmeza514
15-01-2014, 00:19
Hello,
I am a member of team 2643 and we havedecided to make our own custom vision tool. We were able to get it working marvelously on a regular java project, but as well you may know FRC applications remove some of the java classes and libraries. For example, Math.atan() does no exist. Anyway, our application is dependent on the following classes: java.awt.Image , java.awt.BufferedImage, java.net.URL, java.awt.Graphics, and java.imageio.ImageIO; Here is the problem: none of these classes actually exist in an FRC java application. I have tried fetching those files one by one but the problem is that all that all those files have endless references to other files, making the task impossible. I also the tried extracting all .class files from the .jar files in my JDK directory and decompiling them to .java files and dragging them into the project's SRC directory. This would have worked except it slowed netbeans down to the point that it was inoperable. I guess that what I want is to find a way to upload a library to my FRC application from a .jar file or find an application that can tell me which files are absolutely necessary for my application to work. I anyone can provide me with a solution I
would greatly appreciate it.
-JuanMeza, Team 2643
I am a member of team 2643 and we havedecided to make our own custom vision tool. We were able to get it working marvelously on a regular java project, but as well you may know FRC applications remove some of the java classes and libraries. For example, Math.atan() does no exist. Anyway, our application is dependent on the following classes: java.awt.Image , java.awt.BufferedImage, java.net.URL, java.awt.Graphics, and java.imageio.ImageIO; Here is the problem: none of these classes actually exist in an FRC java application. I have tried fetching those files one by one but the problem is that all that all those files have endless references to other files, making the task impossible. I also the tried extracting all .class files from the .jar files in my JDK directory and decompiling them to .java files and dragging them into the project's SRC directory. This would have worked except it slowed netbeans down to the point that it was inoperable. I guess that what I want is to find a way to upload a library to my FRC application from a .jar file or find an application that can tell me which files are absolutely necessary for my application to work. I anyone can provide me with a solution I
would greatly appreciate it.
-JuanMeza, Team 2643