Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~986 People Reached
Favorite Tags
java x 7
Member Avatar for DotA

My below code will compile and create a form with blue inside. I'm currently trying to draw a triangle to the screen but when I call "device.DrawPrimitives(PrimitiveType.TriangleList, 0, 1);" inside of my render function the program fails. Let me know if I'm doing anything wrong, I'm still in the process …

Member Avatar for DotA
0
252
Member Avatar for DotA

I'm having trouble with a class which is fine until another method tries to access variables in the same class, seems like a scope issue to me. I get null pointers when i try to access an object which clearly works in a previous method. All my data and called …

Member Avatar for DotA
0
121
Member Avatar for DotA

I'm learning GUI, can anyone show me how to display an image on a panel. So far I have this: [code=java] import java.awt.*; import java.awt.event.*; import java.awt.image.*; import java.io.*; import javax.imageio.*; import javax.swing.*; import java.applet.*; public class JlabelDemo { public static void main(String[] args) { // create an image icon, …

Member Avatar for VernonDozier
0
131
Member Avatar for radhasb

I have a .dat file with many lines. I need to overwrite a certain line. Let's just say I have to overwrite the 5th line of the dat file. How would I set the RandomAccessFile to overwrite at line 5 (or any line in general)? (P.S.: each line has 10 …

Member Avatar for DotA
0
482