Search Results

Showing results 1 to 40 of 203
Search took 0.02 seconds.
Search: Posts Made By: llemes4011
Forum: Java 3 Hours Ago
Replies: 2
Views: 75
Posted By llemes4011
True, but it significantly cuts down the size of the class, and spreads out the bulk of the code between other classes. And if the class abstraction is done well, it would simplify it even more.
...
Forum: Java 8 Hours Ago
Replies: 2
Views: 75
Posted By llemes4011
I'm working on an rpg game, and one of the big issues that I had (have), is having the players actions change around other objects.

For example, normally the "a" key would attack, but when next to...
Forum: C++ 1 Day Ago
Replies: 1
Views: 107
Posted By llemes4011
The company that I work for just bought a Qt License, so we've been messing around with it. So far, it's really nice. I'm more of a Java guy, and it's made the transition from Java to C++ much...
Forum: Java 6 Days Ago
Replies: 2
Views: 116
Posted By llemes4011
I'm sorry, but I don't see how that tutorial helps. I'm not interested in extending the existing Graphics API from Sun. I want to code my own graphics library from scratch. That tutorial is only...
Forum: Java 7 Days Ago
Replies: 2
Views: 116
Posted By llemes4011
Hi everyone, I decided that I wanted to try to write a graphics library. Yes, I know Java already has one, I just thought that it would be fun to try. I looked around, but couldn't find anything on...
Forum: Java 12 Days Ago
Replies: 2
Views: 149
Posted By llemes4011
Good points about the public modifier - You can modify variables in the class through gettor/settor methods. These methods can be called by using the dot (.) operator.
Good points about the private...
Forum: Java 12 Days Ago
Replies: 2
Views: 149
Posted By llemes4011
Hello.
Adding the private modifier to a method means that you can ONLY call it from within that class.
The public modifier means that you can access that method with the dot (.) operator from other...
Forum: Java 31 Days Ago
Replies: 0
Views: 149
Posted By llemes4011
Hello. I'm trying to write a program that registers Mouse Clicks that occur on the System, not just in a JFrame. Does java6's desktop integration allow this sort of thing? or would I have to use...
Forum: Java Oct 17th, 2009
Replies: 4
Views: 209
Posted By llemes4011
hmm, I don't know if making the frame un-focusable after making it transparent would allow you to click through it or not....
I'm sorry I couldn't be more help, maybe someone else knows.
Forum: Java Oct 17th, 2009
Replies: 4
Views: 209
Posted By llemes4011
If it can be done using the Win32 C++ API (On Windows), then you might be able to accomplish this using JNI (Java Native Interface), but all of the documentation is very old. I believe you can...
Forum: Java Oct 17th, 2009
Replies: 12
Views: 362
Posted By llemes4011
Try treating everything as a String. Example:

String PLUS= "+"; // <- Note the double quotes signifying a String.
for(int i=0;i<50;i++){
dos.write(Integer.toString(i)); // Convert the int to...
Forum: Java Oct 14th, 2009
Replies: 0
Views: 633
Posted By llemes4011
This is a very basic implementation of a Julia Set Fractal Generator. All of the variables are coded in, so feel free to change them to experiment with different results. I give an explanation of...
Forum: Java Oct 14th, 2009
Replies: 1
Views: 426
Posted By llemes4011
Hello! I'm writing a fractal generation application. I have the fractal part down, but I can't seem to get the coloring right.

What I want to do is, as the number gets closer to infinity, the...
Forum: Java Oct 12th, 2009
Replies: 2
Views: 461
Posted By llemes4011
=D Thanks a lot! That page has lots of info on it!
I'm going to leave this open for now in case others have stuff to add.
Forum: Java Oct 12th, 2009
Replies: 10
Views: 493
Posted By llemes4011
Hello! Most Applets now extend the JApplet class now. (JApplet is part of the javax.swing package) So you should probably be extending that instead. also, all applets make a call to init(),...
Forum: Java Oct 12th, 2009
Replies: 2
Views: 6,633
Posted By llemes4011
Hello, I see that this is your first post. Please read the rules of the forums. This thread is 6 years old. The rules are found at the top of every forum.
Forum: Java Oct 11th, 2009
Replies: 2
Views: 461
Posted By llemes4011
Hello. I've been using NetBeans for quite a while, and I really like the Draggable components that it uses. In both the GUI Builder & the GUI itself. So, my question is, How do you drag components...
Forum: Java Oct 5th, 2009
Replies: 4
Solved: Business Apps
Views: 3,148
Posted By llemes4011
Okay, thanks a lot for the info =)
Forum: MySQL Oct 4th, 2009
Replies: 3
Views: 380
Posted By llemes4011
Hello everyone =) I'm a Java programmer who wants to do work with databases. MySQL seems to be a popular choice, but I don't know where to start. I messed around with Derby, but I didn't really...
Forum: Java Oct 4th, 2009
Replies: 7
Views: 246
Posted By llemes4011
It's the same as a char array. You can make an array of any Object.
Character[] ... = new Character[size];
Forum: Java Oct 4th, 2009
Replies: 7
Views: 246
Posted By llemes4011
You're trying to cast a Character object to its primitive char type, which doesn't work.
Try using an array of Character instead of char. =)
Forum: Java Oct 4th, 2009
Replies: 4
Views: 292
Posted By llemes4011
If you're still having trouble with the original problem, it would be because you don't specify the package. If you are using an IDE such as Eclipse or NetBeans, each source file exists in a...
Forum: Java Oct 3rd, 2009
Replies: 4
Solved: Business Apps
Views: 3,148
Posted By llemes4011
thanks for the tip, and sorry for the late response!

Does JEE have a good tutorial? I looked at it, but I wanted a second opinion...
Forum: Java Oct 1st, 2009
Replies: 4
Solved: Business Apps
Views: 3,148
Posted By llemes4011
Hi everyone. I know that asking for project ideas is generally frowned upon, but I wish to ask anyways. This isn't for school, it's just because I want to. I want to start writing applications...
Forum: Java Sep 28th, 2009
Replies: 7
Views: 850
Posted By llemes4011
AHA! I used the create property to create a new Database, and then searched for it using the OS's Search Program. I found the newly created database in the NetBeans project folder. I can not...
Forum: Java Sep 28th, 2009
Replies: 7
Views: 850
Posted By llemes4011
Thank you for all of your help :) If I find anything, I'll post it here.
Forum: Java Sep 28th, 2009
Replies: 7
Views: 850
Posted By llemes4011
I tried setting the derby.system.home property to the location where I was storing the databases, but that didn't help either. It looks like I'm structuring everything correctly... I'm sorry, I...
Forum: Java Sep 28th, 2009
Replies: 7
Views: 850
Posted By llemes4011
I tried using "jdbc:derby:test" instead of ""jdbc:derby://localhost:1527/test", but it gave me this error:

(this is the entire output from the execution)

Loaded Derby Driver...
Forum: Java Sep 28th, 2009
Replies: 7
Views: 850
Posted By llemes4011
Hello, I'm using NetBeans 6.7.1, and Derby 10.5.3.0. I'm trying to learn how to write Database applications, and I'm having trouble connecting to my Database. It loads the Derby Driver...
Forum: Java Sep 12th, 2009
Replies: 2
Views: 334
Posted By llemes4011
what about an "Account Creator" kind of project? It's rather simple to set up, requires Listeners if done correctly (i.e., press enter to submit the form). It could also get into reading/writing to...
Forum: Java Sep 7th, 2009
Replies: 2
Views: 456
Posted By llemes4011
Thank you for your reply. I took that in as meaning "If the point at x,y is within the bounds of the rectangle, this method returns true, else returns false." I'll do a couple tests real quick.
...
Forum: Java Sep 6th, 2009
Replies: 2
Views: 456
Posted By llemes4011
Hi everyone. I have a quick question: Is there anyway that you can check to see if a point lays on an Arc2D object? I'm trying to write a Physics library (or at least part of one), and I noticed...
Forum: Java Sep 5th, 2009
Replies: 3
Views: 225
Posted By llemes4011
are you getting something to the effect of, "@43df12"? That's because you're trying to print out an employee object. You have to get the employee's name, title, department, or id number and print...
Forum: Java Sep 2nd, 2009
Replies: 1
Views: 172
Posted By llemes4011
I need a diversion, and I was wondering. What would be a good library to write? It's somethings that I've wanted to do for a while, just never gotten around to. I was thinking about a lib for some...
Forum: Java Sep 1st, 2009
Replies: 2
Views: 219
Posted By llemes4011
Albert-Pi - Those links have almost NOTHING to do with this thread. They are for JavaScript, and they don't deal with transitions. One of them does, but it's a full program, not an example.
...
Forum: Java Aug 31st, 2009
Replies: 1
Views: 154
Posted By llemes4011
*Update*

I came up with an Idea, and I would like some input on it.

In this scenario, would it make more sense to just open a standard Socket connection, and pass drawing info that way?
...
Forum: Java Aug 31st, 2009
Replies: 4
Views: 443
Posted By llemes4011
No, you do not have 100,000 panels on top of each other. But if the screen is still being filled with black, you might want to insert the line:
super.paintComponent(comp); as the first line in your...
Forum: Java Aug 31st, 2009
Replies: 1
Views: 154
Posted By llemes4011
Hello... again. I'm sorry about asking about this again, but I'm still stumped =S I can't find any tutorials or examples on this matter*, and I don't know what to do. I still need to find a way to...
Forum: Java Aug 29th, 2009
Replies: 2
Views: 264
Posted By llemes4011
You need to take a closer look at that line. There is a very subtle mistake in there, that is very easy to make, and seems VERY natural to type... (I do it all the time >.< )
Forum: Java Aug 28th, 2009
Replies: 8
Views: 600
Posted By llemes4011
Okay, sorry, I think it's starting to make sense now. Somehow (I don't know how), the server has to tell the client what to draw. So, now I have to come up with some sort of system that allows the...
Showing results 1 to 40 of 203

 


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

©2003 - 2009 DaniWeb® LLC