This week's book giveaway is in the Java in General forum.
We're giving away four copies of Beginning Java 17 Fundamentals: Object-Oriented Programming in Java 17 and have ishori Sharan & Adam L Davis on-line!
See this thread for details.
Win a copy of Beginning Java 17 Fundamentals: Object-Oriented Programming in Java 17 this week in the Java in General forum!

Cody Long

Ranch Hand
+ Follow
since Jan 01, 2009
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Cody Long

Hi all, I need help with JFileChooser. I would like to know how to filter the shown files to only show bitmap files. I have google around and not really found anything. Thanks for the help.

[EDIT] Nevermind. I just looked at the API docs. Don't know why I didn't look there in the first place.
11 years ago
I would like to be able to access Python libraries from Java, mainly the myro library to control my scribbler robot from Java. I have looked at Jython and a few other, but they all seem to be geared towards accessing Java classes from Python. I was wondering if the opposite was possible. Thanks.
11 years ago
I have decided to use ANTLR instead becuase there seems to be more documentation and tutorials out there about it. So no need to post any replies.
11 years ago
Can anyone point me to some JavaCC tutorials? Preferably a tutorial that starts from scratch and writes a minimal language if possible.

I have already looked at this tutorial and made the calculator and added the modulus function. But i am confused on how to continue on with making my mini language.

Any help would be appreciated. Thank you.
11 years ago
Thanks Rob! That's what i was looking for!
11 years ago
I am not very familiar with C/C++. The whole reason i have the dll full of pictures is because i have 101 pictures that i need to use for the program i am using. Is there a way to have all of those pictures in one file and call them from Java? The images can be in any format, i still need to make them in Photoshop.
11 years ago
How would you do it using JNI? I have googled around and not found anything.
11 years ago
I have a dll made with Dev-C++ that includes several pictures. I was wondering if there was a way to access them and use them in my Java program. Thanks in advance.
11 years ago
Thanks for the quick reply! and thank you, thats exactly what i needed.
11 years ago
How would I make an object print out a string value, of my choosing, when called. For example if I said

what do I need to add to the MakeString class to make it print "apples" if i wanted it too?
11 years ago
In the future please put your code in code tags. Your code will be much more readable, and people will be more inclined to help you. Sorry, i do not know the answer. It has been a while since i have done stuff with reading files and the like.

11 years ago

Don Bailey wrote:I'm actually trying to learn both! When my head gets tired of one ...then I switch.


Well good luck to you! and welcome to the ranch!
11 years ago