Forum: Java 19 Days Ago |
| Replies: 0 Views: 168 So we have to implement Bresenhams line drawing algorithm as well as Cohen-Sutherland line clipping algorithm.
For some reason my whole program (9 classes, but only will include Line.java here)... |
Forum: Java 24 Days Ago |
| Replies: 1 Views: 163 So one of the problems I have been having with my programs is the length of time it takes to print out a pixel map into the XPM file.
I tested it with like :
500 rows and 2 columns -- 1 second... |
Forum: Java Oct 7th, 2009 |
| Replies: 1 Views: 200 So I have a lot of code so I guess I'll just post the couple classes that seem to be giving me problems and where the problem is occuring.
// line class to store lines from .ps file
class line {... |
Forum: Java Aug 12th, 2009 |
| Replies: 12 Views: 591 nope no errors it just doesnt change |
Forum: Java Aug 12th, 2009 |
| Replies: 12 Views: 591 ok I had a seperate main class that just ran my gui(). would that have anything to do with it? |
Forum: Java Aug 12th, 2009 |
| Replies: 12 Views: 591 yours changes? lol mine doesn't i dont know what you are doing differently, |
Forum: Java Aug 12th, 2009 |
| Replies: 12 Views: 591 But that one recipe that is in there has a rating of 3/5 stars. The initial rating picture the label uses is the 0/5 stars one. Shouldn't it load with the 3/5 stars picture from that code? Even if I... |
Forum: Java Aug 11th, 2009 |
| Replies: 12 Views: 591 So I have a JComboBox, which contains recipe names. I want, when the recipe name is changed, for the label that is an icon of the rating (1 to 5) stars, based on my recipe object, to change as well.... |
Forum: Java Jul 5th, 2009 |
| Replies: 7 Views: 507 hey guys. OK so, I've been wondering this for a while now. my code is always so unnecessarily cluttered because I don't know how to do this, lol.
say I have a set of private class variables:
... |
Forum: Java Jun 24th, 2009 |
| Replies: 0 Views: 331 So I have my text files saving perfectly from my program in the exact way I want them to. Here is a copy of the text file that my program saves that I am now trying to load back in, parse, and set up... |
Forum: Java Jun 23rd, 2009 |
| Replies: 2 Views: 889 So I have this function that is supposed to output an object (save an object) to a .txt file. It doesn't output anything when the program comes to the point where it runs this function. I am 99% sure... |
Forum: Java Jun 19th, 2009 |
| Replies: 4 Views: 367 ok so i want to read a .txt file line by line. I have the code for that BUT i want to keep track of what line im on, i might be completely braindead from working on this whole project forever but... |
Forum: Java May 1st, 2009 |
| Replies: 1 Views: 595 It keeps giving me this exception when it seems like I am adding a choice to my choices vector, and I don't know why.
Here is that snippet of code. If you need more I can provide it.
Thanks... |