| Thread | Last Post | Replies |
|
| Trouble getting my square to jump.... | 31 Aug 2008 21:57 GMT | 3 |
http://rafb.net/p/g4BKOQ31.html In recent days ive decided to get to grips with some basic game physics. Can anyone tell me where i am going wrong in my code? If you scroll down to the 'public void keyTyped(KeyEvent event)' its
|
| Show the most recent image, display only it. | 30 Aug 2008 13:08 GMT | 2 |
This is a demo program only of my problem. My real program is too big to be included here. In this program, given a button panel, a label on a panel, a image icon on that label then making a single press of
|
| Question on syntax | 30 Aug 2008 02:09 GMT | 8 |
I have been doing some practice exams and came across this funny '. . .' in the signatuer of a method: int doIt(int... i) { return 4;
|
| size of things | 29 Aug 2008 10:28 GMT | 5 |
I'm trying to use a RandomAccessFile, and was having trouble figuring out what size things are, so I can look past them on the file. For example, I was going to create a couple of indexes at the front of the file, so the file structure would be:
|
| String.format help | 28 Aug 2008 23:44 GMT | 1 |
Given the same variables, why does; System.out.println("objecttype=" + this.getClass()); System.out.println(String.format("id=%1s",getid())); System.out.println(String.format("description=
|
| Exception handling and snarky compiler | 28 Aug 2008 15:47 GMT | 7 |
I am trying to set up a random access file RanFile. (sorry, I don't have my code with me) I have confirmed or created the directory, I have confirmed or created the file in a File object, and then I create the random file
|
| threads: to join or not to join | 28 Aug 2008 12:57 GMT | 4 |
I have just discovered that when a java program starts one of more threads and then the main thread comes to the end of function main, the program will wait for the other threads to complete unless the threads are daemon threads. This comes as quite a suprise to me. Does
|
| Question on syntax | 28 Aug 2008 12:51 GMT | 4 |
I have been doing some practice exams and came across this funny '. . .' in the signatuer of a method: int doIt(int... i) { return 4; }
|
| Question on OO Principle | 28 Aug 2008 03:44 GMT | 4 |
I read a book which mentioned Java new keyword vialiate "Open-close" and "DIP" OO principle. I don't understand it, anybody having deep knowledge explain to me? Thanks a lot.
|
| Text Content in 3W DOM Element | 27 Aug 2008 19:28 GMT | 3 |
If I have a XML file like <header> <data>1.0</data> </header>
|
| Question on binary files | 27 Aug 2008 19:03 GMT | 6 |
I'm an old Pascal programmer who is trying to revitalize my programming skills. My first project is an old mainframe game. In the program there was a rather large data structure which we packed into (iirc) 10 60 bit words (with only 2 bits that I have found to
|
| Regular expression fails to replace but matches | 27 Aug 2008 14:58 GMT | 5 |
<pre> <code> // PATTERN: (<c:param.+value=")<%=[ \t]*([^%]+)[ \t]*%>(".*$) Pattern p = Pattern.compile("(<c:param.+value=\")<%=[ \\t]*([^ \\t%]
|
| Help interpreting trace | 26 Aug 2008 16:47 GMT | 1 |
We are developing a plugin for eclipse. We got a trace and together with it a explanation saying that: "This plugin is closing the PrintStream assigned to System.err during startup preventing any further error output from being seen."
|
| addition of 2 matrix number | 26 Aug 2008 15:38 GMT | 11 |
my program is to add 2 matrix number from 2 txt file: e.g. matrixa.txt: <test>
|
| Setting the Look & feel in Java Web Start | 26 Aug 2008 03:28 GMT | 5 |
My look and feel settings appear to be ignored in Java Web Start. Is there some particularly auspicious stage in the initialisation you should do it?
|