Search Results

Showing results 1 to 40 of 103
Search took 0.02 seconds.
Search: Posts Made By: jakx12
Forum: Java 17 Days Ago
Replies: 0
Views: 124
Posted By jakx12
Ok so I have a couple questions on JavaFX. I have three javaFX scripts all of which contain their own scene and stage. However, I want a main class or script to decide when to open and when to close...
Forum: Show Off your Projects 17 Days Ago
Replies: 1
Views: 327
Posted By jakx12
Very nice. Can I ask, what language did you use for the conferencing. Was it java, if so how did you achieve it, because I want to do desktop video chat.
Forum: MySQL 20 Days Ago
Replies: 1
Views: 385
Posted By jakx12
Ok so what does mysql return when the select query doesnt exist. So say I query the database: SELECT username FROM user WHERE username='test' AND password='test'

Ok so say test doesnt exist what...
Forum: Java 21 Days Ago
Replies: 4
Views: 248
Posted By jakx12
ok thanks, but were would i find the driver class?
Forum: Java 21 Days Ago
Replies: 4
Views: 248
Posted By jakx12
Ok so what i want to be able to do is connect to a mysql database. Here's my code so far:


Connection connection = null;
try {
// Load the JDBC driver
String driverName =...
Forum: Java 24 Days Ago
Replies: 0
Views: 194
Posted By jakx12
Ok so im thinking of building a chat application like msn in java. Would JMF be the best option or has anyone got any other ideas. Also are there any tutorials or open source code at there that...
Forum: Java 29 Days Ago
Replies: 14
Views: 307
Posted By jakx12
Thank you for the help, I will try your code, but as i said, the only problem is that the icellselcted always returns false.
Forum: Java 30 Days Ago
Replies: 14
Views: 307
Posted By jakx12
what are you talking about? You are not being particularly helpful. Sorry to say this, but that post had nothing to do with what your asking, nor are you trying to answer it. My question is why is it...
Forum: Java 30 Days Ago
Replies: 14
Views: 307
Posted By jakx12
what?
I can post all the code but i think its unnecessary. The problem is not with the code but with that method, provided by JTable.
Forum: Java 31 Days Ago
Replies: 14
Views: 307
Posted By jakx12
thats pretty much exactly what i have done, however, the cell never gets the value assigned to it. This is because for some reason the isCellSelected() method always returns false.
Thats what I dont...
Forum: Java 31 Days Ago
Replies: 14
Views: 307
Posted By jakx12
Ok thanks but I have already set cell selection to true, so i dont know why its not working.
Forum: Java 31 Days Ago
Replies: 14
Views: 307
Posted By jakx12
ahh thanks. I didnt see that!
But now it never prints works again so i dont think it registers if a cell has been selected.

Any ideas as to why?
Forum: Java 31 Days Ago
Replies: 14
Views: 307
Posted By jakx12
Ok so im building a level editor for this game. What the code i cant working does is, when the button is clicked it should get the selected cell from the jtable and set a value for it. However, for...
Forum: Java Sep 28th, 2009
Replies: 4
Views: 402
Posted By jakx12
Thanks, but you know the image_width and image_height, is that the screen size? or would there be some cropping after the screen capture has been taken? Also do you think this method would work with...
Forum: Java Sep 28th, 2009
Replies: 4
Views: 402
Posted By jakx12
Ok thanks, but I dont get the dim variable, were is it declared?
Forum: Java Sep 28th, 2009
Replies: 2
Views: 308
Posted By jakx12
Im actually doing neural networks at the moment (teaching myself). If you want to predict financial stocks then neural networks are perfect. They are brilliant at finding trends and patterns in...
Forum: Java Sep 28th, 2009
Replies: 4
Views: 402
Posted By jakx12
I know we are not supposed to ask for code, but could someone please tell me how I would do this. Not write code, just give me guidelines.

thanks
Forum: Java Sep 1st, 2009
Replies: 4
Views: 434
Posted By jakx12
int[][][] testArray = new int[10][5][5];

That is the syntax for a 3 dimension array of ints.
Forum: Java Aug 31st, 2009
Replies: 5
Views: 934
Posted By jakx12
window.setAlwaysOnTop(boolean);
window is the name of your jframe and replace boolean with true or false depending if you want the visible to be on top.

Also do what msn does, play a sound.
Forum: Java Aug 30th, 2009
Replies: 5
Views: 336
Posted By jakx12
Forum: Java Aug 28th, 2009
Replies: 10
Views: 474
Posted By jakx12
ezza is right, it would be better if you code it yourself. How about you try and then you show us what you have done, if it does not work then tell me and ill actually do it for you. But its better...
Forum: Java Aug 28th, 2009
Replies: 5
Views: 599
Posted By jakx12
how about a network messaging app?
Forum: Java Aug 27th, 2009
Replies: 10
Views: 474
Posted By jakx12
ok, ill see if i can do it now, if not it will be done by tomorrow :)
Forum: Java Aug 27th, 2009
Replies: 10
Views: 474
Posted By jakx12
you would create an arraylist because, you dont know how long the names would be to start of with. Plus with arraylists you can easily convert char's because all you want to do is convert two. Then...
Forum: Java Aug 27th, 2009
Replies: 7
Views: 400
Posted By jakx12
why dont you just change the format of the users input. Instead of making the value of there input a string make it a double
Forum: Java Aug 27th, 2009
Replies: 1
Views: 203
Posted By jakx12
use getters and setters
Forum: Java Aug 27th, 2009
Replies: 10
Views: 474
Posted By jakx12
OK, i didnt really look at your code to much, but this is what you need to do. You need to break the string up into char's using this method: getChars(). Store this in an array list. You should then...
Forum: Java Aug 27th, 2009
Replies: 4
Views: 399
Posted By jakx12
hey, ok vernon provided you with an almost complete answer. I dont know if you understand yet that methods that are private cannot be accessed outside the class. It is also bad programing to make...
Forum: Java Aug 27th, 2009
Replies: 1
Views: 308
Posted By jakx12
to run my java code from terminal i use this command: java -jar "then the path to the file in quotes"
Forum: Java Aug 13th, 2009
Replies: 8
Views: 360
Posted By jakx12
What do you mean by rendering different views? Is it for example rendering pictures and drawing the images to the screen?
Forum: Java Aug 12th, 2009
Replies: 4
Views: 294
Posted By jakx12
Applescript is like a english like programming language that allows for automation on a mac. Its exactly what you are looking for. There are plenty of really great tutorials on youtube and your task...
Forum: Java Aug 12th, 2009
Replies: 4
Views: 294
Posted By jakx12
Well if your own a mac use applescript because it would be much simpler on widows use something like auto hot key, rather then java.
Forum: Java Aug 12th, 2009
Replies: 0
Views: 146
Posted By jakx12
Ok so im basically new to computer vision, but i would love to expand my knowledge in java and do some computer vision stuff. So what would be the best library to use with lots of documentation and...
Forum: Java Aug 12th, 2009
Replies: 18
Views: 529
Posted By jakx12
use private rather then public.
Forum: Java Aug 12th, 2009
Replies: 18
Views: 529
Posted By jakx12
The White has done it for you. Also if you know OOP incorporate that. Also use try and catches.
Forum: Java Aug 12th, 2009
Replies: 18
Views: 529
Posted By jakx12
ill help you one sec...Check your PM
Forum: Assembly Aug 12th, 2009
Replies: 5
Views: 515
Posted By jakx12
Can you program an os in java with a kernel and bootloader written in assembly or c++ or something?
Forum: Java Aug 12th, 2009
Replies: 11
Views: 304
Posted By jakx12
I was going to do that actually, but i like the idea of an os better :P
Forum: Java Aug 11th, 2009
Replies: 11
Views: 304
Posted By jakx12
ok. Thanks anyway
Forum: Java Aug 11th, 2009
Replies: 11
Views: 304
Posted By jakx12
I do have a couple of years! Obviously id make it with someone else. But what i want to know is that is there already a kernel written and boot-loaders etc. Because if there is then it wont be to...
Showing results 1 to 40 of 103

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC