Forum: Getting Started and Choosing a Distro 32 Days Ago |
| Replies: 4 Views: 727 have you tried other programs?
my guess would be you are hitting a limit, it may be software or hardware. obviously if it is a limit in your hardware (memory), there is not much you can do, unless... |
Forum: Java Jul 31st, 2009 |
| Replies: 6 Views: 338 it looks like it is complaining because the getSource is getting a javax.swing.JMenuItem, yet you are trying to use it as a JButton instead. |
Forum: Java Jul 23rd, 2009 |
| Replies: 2 Views: 225 the code you currently have is trying to construct a test object, but test is simply a method you call. therefore, you can simply say x = test();, furthermore when you are printing the result, is it... |
Forum: Java Jul 22nd, 2009 |
| Replies: 3 Views: 302 if you think this is so, you should code yourself, because these tools need to accomodate many variations and so the code become "horrible". |
Forum: *nix Hardware Configuration Jul 20th, 2009 |
| Replies: 3 Views: 1,246 assuming this is desktop edition, there should be an eject icon next to the device in the file explorer (can't remember what it is called). whenever i used my portable hdd with ubuntu 9.04 i used... |
Forum: Python Jun 30th, 2009 |
| Replies: 4 Views: 286 you could try eclipse, with some plug-in if you want a fully featured IDE.
what i do personally, is usually use it notepad++, which provides basic syntax highlighting. in a learning process there... |
Forum: Java Jun 26th, 2009 |
| Replies: 2 Views: 431 I am worried when you say "their files", and "all over the world". If you are talking about files/database on some server then I would agree, but if you are talking about files on a client computer,... |
Forum: Python Jun 23rd, 2009 |
| Replies: 7 Views: 349 it's ususally the simple "bugs/fixes" that are the hardest to see because they are simply overlooked. good luck with the GUI, unfortunately i haven't dealt with python GUIs before, but i'm sure... |
Forum: Python Jun 23rd, 2009 |
| Replies: 7 Views: 349 just move the entry/start point of your game into a function, and then at the end of that function (even after) you can give the use the option to "play again". |
Forum: *nix Software Jun 10th, 2009 |
| Replies: 4 Views: 767 windows isn't going to show the hdd if it isn't fat / ntfs. and perhaps dreamlinux is using a format not known to pclinuxos too. |
Forum: C++ Jun 4th, 2009 |
| Replies: 11 Views: 443 well a map is going to associate a key with a value, so if you set your keys to your planet names and the values to your objects (planets), you can retrieve them based on the name (key). |
Forum: C++ Jun 4th, 2009 |
| Replies: 11 Views: 443 what are you trying to do?
input.moons would mean you are trying to get the moons of a string... |
Forum: Window and Desktop Managers May 28th, 2009 |
| Replies: 3 Views: 1,748 while installing vista, i believe there is going to be little you can do. After you have installed vista, you want to try and re-enable GRUB to handle boots. There are forums around this topic and... |
Forum: Window and Desktop Managers May 28th, 2009 |
| Replies: 2 Views: 1,102 you can try: https://help.ubuntu.com/community/WallpaperTray |
Forum: *nix Software May 21st, 2009 |
| Replies: 6 Views: 992 it depends on your code, but as long as you use a compiler for xp / linux you should get your code to run on either with minimal changes. |
Forum: Getting Started and Choosing a Distro May 8th, 2009 |
| Replies: 12 Views: 2,100 seeing the content of the CD doesn't mean it is correct. is it auto-starting? because if it isn't there is probably an issue with the CD. |
Forum: Getting Started and Choosing a Distro May 8th, 2009 |
| Replies: 12 Views: 2,100 to be honest, it sounds like the cd you are using is not the ubuntu cd. if you load the cd while vista is booted normally, does it come up with the live cd menu?
by "hdd" i am referring to your... |
Forum: Getting Started and Choosing a Distro May 7th, 2009 |
| Replies: 12 Views: 2,100 is it even trying to boot from the CD? or does it go to your hdd straight away?
are your keystrokes actually registering?
I assume it is booting into vista, and not the vista setup (because... |
Forum: Java Apr 29th, 2009 |
| Replies: 14 Views: 1,281 are you getting compile or runtime errors?
if you are getting compile errors you are probably using static variables / methods in a non-static way or the other way around. just have a look at how... |
Forum: Java Apr 27th, 2009 |
| Replies: 14 Views: 1,281 perhaps you are over-complicating this problem...
i suggest you look at the Class java.io.File, which should be a lot better than reading files from stdin (i have never even tried that).
adding... |
Forum: *nix Software Apr 8th, 2009 |
| Replies: 2 Views: 1,981 well done, best to mark your thread as solved if it is. |
Forum: Java Apr 3rd, 2009 |
| Replies: 31 Views: 1,326 add conditions to if plusminus == 0 block and it should work... |
Forum: Java Apr 3rd, 2009 |
| Replies: 31 Views: 1,326 like i said, you were going to run into this issue. look for the longer numbers first since they are harder to satisfy. make sure you use if / else if so that multiple conditions aren't met in the... |
Forum: Java Apr 3rd, 2009 |
| Replies: 31 Views: 1,326 if you are using == you are going to need to trim the decimal places down regardless. just make sure you do comparisons in an order that ensure you get what you want.
e.g. 3.1415024
2 decimals =... |
Forum: Java Apr 3rd, 2009 |
| Replies: 31 Views: 1,326 perhaps this link will be of some assisstance: http://forums.sun.com/thread.jspa?threadID=475442
sorry I a bit out of it, and can't be bothered looking too hard. that post should give you the... |
Forum: Java Apr 3rd, 2009 |
| Replies: 31 Views: 1,326 public static void main(String[] args) {
int count = 1;
double plusminus = 0;
double top = 4;
double bot = 1;
double pi = 4;
double piequals =... |
Forum: Java Apr 2nd, 2009 |
| Replies: 31 Views: 1,326 you have already answered your question yourself. you are using a "counter" and so using this you can emulate the sequence. |
Forum: Java Apr 2nd, 2009 |
| Replies: 31 Views: 1,326 that is recalculating "pi" not "piequals". look at the mathematical sequence, you should see what is happening... |
Forum: Java Apr 2nd, 2009 |
| Replies: 31 Views: 1,326 ok, i am not entirely sure what approach you taking for this problem, but it seems a bit iffy so far. do you actually want an infinite loop? (i would have though not...)
anyway, the maths needs to... |
Forum: Java Apr 2nd, 2009 |
| Replies: 31 Views: 1,326 you have infinite loop because you are checking for plusminus == 0 or 1. when the value is 0, you add 1, when the value is 1 you subtract 1, therefore the condition is always satisfied.
your for... |
Forum: Java Mar 31st, 2009 |
| Replies: 2 Views: 282 have you got database drivers? you will most likely need to import some library which is going to include the drivers, you will then create a connection to the database. only after this will you be... |
Forum: Getting Started and Choosing a Distro Mar 26th, 2009 |
| Replies: 19 Views: 2,489 from what i've read you already have fedora installed? is there some reason this doesn't satisfy your requirements? |
Forum: Getting Started and Choosing a Distro Mar 24th, 2009 |
| Replies: 19 Views: 2,489 as long as you have your bootloader configured correctly it should detect all OSs fine. i am no expert on this, so i wouldn't know how you would go about this specifically, but i would nearly assume... |
Forum: Java Mar 24th, 2009 |
| Replies: 6 Views: 252 you only want to execute the calculations if you have finished receiving user inputs, currently you are doing them as you get the inputs. you want to break out of the loop after the user has finished... |
Forum: Java Mar 24th, 2009 |
| Replies: 6 Views: 252 did you even read my question? |
Forum: Java Mar 24th, 2009 |
| Replies: 6 Views: 252 if you "break" you are going to skip the calculations. does the calculation need to be in the loop? |
Forum: Java Mar 24th, 2009 |
| Replies: 7 Views: 408 you need to somehow "remember" values from previous iterations of the while loop. so if you have a MAX number of iterations you could use an array, but perhaps it would be easiest to use a vector... |
Forum: Java Mar 24th, 2009 |
| Replies: 4 Views: 301 ah yes, forgot about that, definitely needs to be considered... |
Forum: Getting Started and Choosing a Distro Mar 23rd, 2009 |
| Replies: 19 Views: 2,489 I personally use ubuntu. There should be tools in xp and fedora which would allow you to partition your hard disk. It should also be possible while installing Belinix.
In my case, I had my HDD... |
Forum: Java Mar 23rd, 2009 |
| Replies: 4 Views: 301 if you write the code, it belongs to you. you can choose licensing on what you have written. |