Search:
Type: Posts; User: naemi
Search:
Search took 0.22 seconds.
-
October 27th, 2010, 03:32 AM
hmmm... mix some paint in a bucket, pick it up, move it -- there ya go, movable paint!
-
October 27th, 2010, 03:00 AM
Yeah, I know, that's Westley's 1988 obfuscated c contest entry, plenty more there for those interested: http://www0.us.ioccc.org/years.html#1988_westley
I think there ought to be an obfuscated...
-
October 26th, 2010, 11:22 PM
We java people have twisted minds, I prefix my solution thus because what I present to you isn't pretty but it does the job and fulfills the requirements... yep...
public class CharGetter {...
-
October 26th, 2010, 10:52 PM
Just use the code posted in this thread to discriminate between the two regions as black and white. Then go through all the pixels, and identify border pixels -- they are the ones that aren't...
-
October 26th, 2010, 10:10 PM
Maybe it's me just being ignorant but I looked up JDI and VirtualMachine interface has no list() method. What interface are you using? My guess is that whatever it is, there just isn't a 32bit...
-
October 26th, 2010, 09:40 PM
That's some messy code you've got there... I suggest: indent it nicely, put it into [ code ] [ / code ] tags when posting (without spaces inside tags that is), use the preview post button first, and...
-
October 26th, 2010, 09:08 PM
initComponents() is autogenerated by netbeans, it's a method that does the work of adding everything to the component and setting all the properties. But you are right, I don't know what I was...
-
October 25th, 2010, 05:43 PM
Hi,
This has been bugging me for a while, I'm using a JPanel to render some custom graphics output (a 2D plot) and I want this custom JPanel, or any similarly-designed component, to preview nicely...
-
October 25th, 2010, 07:04 AM
and if I do this will there be cake?
-
October 25th, 2010, 06:58 AM
Wikipedia may have already beat you to this, see http://en.wikipedia.org/wiki/List_of_algorithms. Most of those articles include pseudocode, so it may be better to concentrate on helping wikipedia...
-
October 25th, 2010, 05:48 AM
My bad, I didn't read OP's question carefully. I guess the options then are to use JNI to interface with Windows API or look for some library that already does this for you. Sorry I can't be of more...
-
October 25th, 2010, 05:42 AM
To clarify my question here's the code, I finished it today and it seems to work, so if someone can please take a look at it and tell me if my approach to line clipping makes sense I'd really...
-
October 25th, 2010, 03:57 AM
add a window listener to your window and implement windowIconified method
-
October 25th, 2010, 03:47 AM
Short answer: no, try again. You have the right idea but you're off by one.
-
October 24th, 2010, 09:55 AM
Hi,
My question is regarding a modification I was considering making to the Cohen-Sutherland algorithm to remove the need for a loop, specifically I want to know if the performance benefits of such...
|
Click Here to Expand Forum to Full Width
|