Forum: Java Dec 2nd, 2005 |
| Replies: 11 Views: 6,160 Filter out the red, green, and blue and then put them together.
Oh, and you can't have 332 blue in a green pixel - not only would that be more blue than green, the numbers are only supposed to go... |
Forum: Java Dec 2nd, 2005 |
| Replies: 2 Views: 11,553 Try setMinimumSize().
As for the dots, you mean the thing that looks like this?
< Removed - My ascii art kind of sucks :P >
I think you'd have to draw that yourself though. |
Forum: Java Dec 2nd, 2005 |
| Replies: 2 Views: 2,163 I'd recommend changing that to String record;. Once you create a String, even if it's null, you can't change it - they're immutable. String record; will tell the app that a String called record will... |
Forum: Java Sep 11th, 2005 |
| Replies: 8 Views: 8,235 Remove the call to super.paintComponent(whatever it was). I spent 2 weeks trying to fix this once and found out that for some reason, calling that made the background disappear.
Example:... |
Forum: Java Sep 3rd, 2005 |
| Replies: 9 Views: 3,033 But they're REALLY hard to make... stupid manifest files... |
Forum: Java Sep 1st, 2005 |
| Replies: 9 Views: 3,033 |
Forum: Java Aug 19th, 2005 |
| Replies: 10 Views: 4,084 Holy... that's a long constructor.
Try something like this in the 'if' blocks:
if (getKeyCode() == KeyEvent.VK_Q)
{
//code to quit goes here
}
//etc... |
Forum: Java Aug 19th, 2005 |
| Replies: 4 Views: 2,016 Try using ObjectInputStream and ObjectOutputStream. |
Forum: Java Aug 14th, 2005 |
| Replies: 5 Views: 5,279 No, but you could use JSP... |
Forum: Java Jul 30th, 2005 |
| Replies: 4 Views: 12,487 Well... if it's a FTP app...
1. I think FTP uses port 21.
2. You should probably start off with TCP/IP. It's VERY hard to rewrite an app to use something different after it already uses one thing. |
Forum: Java Jul 30th, 2005 |
| Replies: 5 Views: 2,180 You may be able to find something at http://javascript.internet.com/user-details/
Too lazy to look right now :-)
EDIT: http://javascript.internet.com/user-details/ip-address.html
It doesn't log... |
Forum: Java Jul 30th, 2005 |
| Replies: 3 Views: 2,851 I generally use x.toString, but x + "" would work also. |
Forum: Java Jul 30th, 2005 |
| Replies: 16 Views: 4,662 I learned from Teach Yourself Java 2 in 21 Days. It had a bunch of good examples in it (except one was missing a semicolon :( ) Plus, it started from the basics (i.e. "Copy this code into Notepad and... |
Forum: Java Jul 30th, 2005 |
| Replies: 6 Views: 2,500 But the Windows date/time comes from the CMOS! If you set the Windows date back 10 days, it will do it in the CMOS too. |
Forum: Java Jul 30th, 2005 |
| Replies: 5 Views: 3,162 And BTW, Java variable names can be longer than 3 letters :) |
Forum: Java Jul 23rd, 2005 |
| Replies: 17 Views: 13,567 BTW, I got that code off some site a while back (don't remember which one) when I was writing an app to transfer entire folders from one computer to another, for my own use (most of the details were... |
Forum: Java Jul 23rd, 2005 |
| Replies: 17 Views: 13,567 It's not Windows-only, you could use System.getProperty("os.name") and a switch block to come up with something equivalent for each OS. |
Forum: Java Jul 21st, 2005 |
| Replies: 17 Views: 13,567 Just because I feel like helping:
//CommandLine.java
import java.util.*;
import java.io.*;
public abstract class CommandLine
{
public static void exec(String cmd) throws Exception
{
... |
Forum: Java Jul 21st, 2005 |
| Replies: 2 Views: 1,290 I think the parts in bold are what made jrichards think this is a Java problem... but, no, it isn't. |
Forum: Java Jul 10th, 2005 |
| Replies: 2 Views: 1,369 This is a test post.
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation... |
Forum: Java Jul 7th, 2005 |
| Replies: 38 Views: 5,126 I couldn't find anything else :(
Anyway, Kaffe is open source, I'll just put the code into my kernel... |
Forum: Java Jul 7th, 2005 |
| Replies: 5 Views: 6,599 |
Forum: Java Jul 7th, 2005 |
| Replies: 38 Views: 5,126 Kaffe.
:) (extra text added because my message was too short) |
Forum: Java Jul 2nd, 2005 |
| Replies: 38 Views: 5,126 I'm still working on it. I haven't quite figured out how to take a screenshot in text mode, but I just booted it from a floppy and it said "Hello World!" and hung. That was written in C++ though.
... |
Forum: Java Jul 2nd, 2005 |
| Replies: 38 Views: 5,126 Update: The kernel (which is now C++, java support will be added later) just compiled! |
Forum: Java Jul 2nd, 2005 |
| Replies: 38 Views: 5,126 <table bgcolor="black">
<tr><td>
<font color="white">Loading MikeOS...
Boot failed - kernel not found.
</font>
</td></tr>
</table>
I haven't gotten the kernel to compile yet :( |
Forum: Java Jul 2nd, 2005 |
| Replies: 38 Views: 5,126 |
Forum: Java Jun 26th, 2005 |
| Replies: 38 Views: 5,126 Update: I'm back to writing the OS again. Eventually, I'll at least get it to boot... then I'll worry about the Java part. All it does now is say "Loading MikeOS... Boot failed."
I didn't finish... |
Forum: Java Jun 25th, 2005 |
| Replies: 38 Views: 5,126 http://nerdlib.com/index_enter.php
The link that says "Free computer help forum." :)
*does victory dance* |
Forum: Java Jun 25th, 2005 |
| Replies: 38 Views: 5,126 Until I can get a Linux distro to install... plus a few weeks.
BTW, I just got a PM asking for advertising at Compuchat :) |
Forum: Java Jun 19th, 2005 |
| Replies: 38 Views: 5,126 Start telling people about it :)
Like I said, naming it after you would imply that it would crash when used as a server... |
Forum: Java Jun 19th, 2005 |
| Replies: 4 Views: 13,120 J2EXE?
(this text added because my message was too short.) |
Forum: Java Jun 19th, 2005 |
| Replies: 38 Views: 5,126 Update: It will be a Linux distro with most of the tools written in Java. I still need a name...
w00t (what's that mean anyway?) I'm now a "Posting Whiz" :) |
Forum: Java Jun 17th, 2005 |
| Replies: 38 Views: 5,126 And I built ENIAC :)
(now take a guess at how old I am... just kidding) |
Forum: Java Jun 17th, 2005 |
| Replies: 38 Views: 5,126 Actually, no, I didn't believe that. But I do know that you're good with Java... |
Forum: Java Jun 17th, 2005 |
| Replies: 38 Views: 5,126 server_crash: No, that would imply that it crashes when used as a server. :( But I might need a little help. It will be open source, probably under the GPL. |
Forum: Java Jun 12th, 2005 |
| Replies: 38 Views: 5,126 Found one- I'm just going to modify jNode.
Why... of course that isn't a JNode code snippet.. what a coincidence that the same exact code shows up in jNode and my OS!
PS: I need a name for it... |
Forum: Java Jun 11th, 2005 |
| Replies: 38 Views: 5,126 Dogtree- Yeah, I know that, same as with C.
server_crash- Yeah, I know that, same as with C.
Phaelax- Yeah, I know that, same as with C. :)
Actually, I was looking at Kaffe. Does anyone know of a... |
Forum: Java Jun 11th, 2005 |
| Replies: 8 Views: 4,699 Seriously, what is any programming language without a HelloWorld app? |
Forum: Java Jun 11th, 2005 |
| Replies: 5 Views: 6,281 Yeah... but put it in a comment... I accidentally copied that part too and it had a compile problem... |