Posts
 
Reputation
Joined
Last Seen
Ranked #809
Strength to Increase Rep
+6
Strength to Decrease Rep
-1
100% Quality Score
Upvotes Received
5
Posts with Upvotes
5
Upvoting Members
5
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
2 Commented Posts
~30.6K People Reached
About Me

I'm 17, I live at my computer, and love writing programs. It allows me to do something constructive while sitting at my computer for hours on end. I'm a Junior, and have been studying Computer Science for a little over a year now. I know Java, and a…

Interests
Java, Reading, Programming, C++, 3D Graphic Design (I really want to learn), Photoshop, Having Fun,…
PC Specs
Dell Insperon 1501 Laptop, 120 GB Hard drive, AMD Athlon 62 X2 Dual-Core Processor TK-53 1.70 GHz, 896…
Favorite Tags

104 Posted Topics

Member Avatar for llemes4011

Hi, I was wondering, is their any way to draw/add a JFrame inside a JApplet. I have this JFrame that needs to be in Applet form, and I don't know how to go about doing it. Completely re-writing it is out of the question (5 or so classes). I didn't …

Member Avatar for jcomeau_ictx
0
350
Member Avatar for llemes4011

Hi all, I'm working on a C++ app that needs to communicate with a server. I was wondering if it would be possible to use Java for the Server, and C++ for the Client. I'm assuming it should work (without the use of JNI) because TCP packets are TCP packets, …

Member Avatar for llemes4011
0
267
Member Avatar for JohnPhilipps
Member Avatar for llemes4011

Hello, I was wondering if anyone knew anything about programming Microcontrollers with C, and if so what controllers are best/have the most room for the least cost/ easy to get the code on. I know nothing about what's needed to get it up and running, or even what to buy! …

Member Avatar for llemes4011
0
117
Member Avatar for mincus

Hi Chris =) I remember making GUIs with BlueJ =) You've done most everything right, there are just a few problems =) In the Patient Class, change toSting(), to toString() ;) just a typo, but it needs to be fixed. In the PatientInformationSystem (That's a mouthful!) Class, you should change …

Member Avatar for llemes4011
0
143
Member Avatar for llemes4011

Hello, I'm working on a specific classloader for my application, but I'm having trouble getting the Generics to work the way I would like them too. I have the following: [code] public interface Loader<E extends GEObject>{ // methods } public class GEClassLoader<E extends GEObject> extends URLClassLoader implements Loader<E>{ // methods …

Member Avatar for ~s.o.s~
0
354
Member Avatar for daniellamae

By looking at the Lucky9 site, (This is a card game, right?) it looks pretty straightforward to code, there might be a couple slightly complicated parts, but all-in-all, it's shouldn't be too hard.

Member Avatar for jwenting
0
681
Member Avatar for llemes4011

Hi. I decided that I wanted to try something hard - write a program that allows 2 different mice to be used simultaneously by the same computer. I realize that this is going to be very difficult, and require not only C++, but probably some low level C, if not …

Member Avatar for Clinton Portis
0
104
Member Avatar for llemes4011

I'm somewhat new to C++, and this question has been nagging at me. Is it more efficient to use a Pointer, or an actual object? Here's an example: [CODE] class SomeObject{ public: SomeObject(); /* Other methods */ }; int main(int argc, char **arcv){ SomeObject *ptrObj = new SomeObject(); // Do …

Member Avatar for Narue
0
165
Member Avatar for 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 Complex Numbers and the Complex Plane, but you should look it up for your self, …

Member Avatar for andreshani
1
2K
Member Avatar for sciwizeh

In the \package\winlaunch directory, there are some C/C++ files that (when ran after being compiled) are used to select the VM. My guess as to why these are are is that Java doesn't have the ability to easily traverse the Windows architecture, and integrate well with the OS. Therefore, C/C++ …

Member Avatar for llemes4011
0
158
Member Avatar for sciwizeh

You can look through the BlueJ source, and see if that helps. You can download it [URL="http://www.bluej.org/download/source-download.html"]here[/URL]. You're going to want to look primarily at the bluej.extmgr, and bluej.extensions packages. The BlueJ Extension API Library can be found on your computer at "<bluej_install_dir>/lib/bluejext.jar". The source code for that is in …

Member Avatar for sciwizeh
1
135
Member Avatar for 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 a person, it would trigger a dialog sequence, and when next to a …

Member Avatar for llemes4011
1
81
Member Avatar for 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 easier. The only real problem I have with it now, is …

Member Avatar for rahul8590
0
85
Member Avatar for 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 the subject. I want it to be for Java, but I'm …

Member Avatar for llemes4011
0
93
Member Avatar for COKEDUDE

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 classes. [CODE] public class Foo{ public Foo{ doSomethingInternal(); // Legal (This is the same …

Member Avatar for llemes4011
0
459
Member Avatar for Mehwish Shaikh

lists. i make lists of classes, then list methods in the classes along with what the method does (how it works, what it needs, ect). I also make lists of things I would like to implement (Save, load, copy, menus, and other random functions that need to be preformed that …

Member Avatar for Mehwish Shaikh
0
157
Member Avatar for SoulMazer

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(), start(), destroy(), and stop(). The paint() method is located in the Container class. anyways, that's just some background …

Member Avatar for jasimp
1
144
Member Avatar for 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 JNI to listen for Mouse clicks and Key Pressed?

0
70
Member Avatar for lllllIllIlllI

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 "fake" it by making the JFrame Translucent, and just drawing on it when …

Member Avatar for lllllIllIlllI
0
110
Member Avatar for ibhome

Try treating everything as a String. Example: [CODE] 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 a String value. if(i!=49) dos.write(PLUS); // Write in a + between each int } [/CODE] file would look like : 0+1+2+3+4+5....+49 I …

Member Avatar for ibhome
0
199
Member Avatar for 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 pixel it relates to's color should get darker (Black relating to infinity, The other …

Member Avatar for ithelp
0
170
Member Avatar for 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 around in the UI like that? I've looked into the java.awt.dnd package, and …

Member Avatar for llemes4011
0
162
Member Avatar for Serpterion

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.

Member Avatar for llemes4011
-1
202
Member Avatar for 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 understand what was going on. If anyone could point me in the direction …

Member Avatar for peter_budo
0
122
Member Avatar for 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 that would be used in a business or workplace environment. I don't have a lot …

Member Avatar for llemes4011
0
245
Member Avatar for KimJack

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. =)

Member Avatar for BestJewSinceJC
0
226
Member Avatar for kahaj

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 specific directory, or package. (This is true even if not using netbeans or eclipse) Example: …

Member Avatar for llemes4011
0
204
Member Avatar for 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 (EmbeddedDriver), but won't connect to the the Database named test. I looked at tests Properties in NetBeans, and it said …

Member Avatar for llemes4011
0
812
Member Avatar for project_java

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 files (If you haven't already XD).

Member Avatar for llemes4011
0
87
Member Avatar for 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 that there is no method that does it. You can …

Member Avatar for llemes4011
0
173
Member Avatar for low1988

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 that, or write a toString method that outputs all of the info.

Member Avatar for javaAddict
0
154
Member Avatar for llemes4011

A program that finds the day of the week you were born on. Once again, this was adapted from a homework assignment, but I rewrote the entire thing from scratch >.< but it was a lot of fun.

Member Avatar for toyi
0
2K
Member Avatar for llemes4011

A program that asks for a number, and uses that number to find the date that many days from today (or whatever day you're using it on). The code was adopted from a homework assignment, so that's why the variable names might not make a lot of sense, I was …

0
97
Member Avatar for 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 of the methods that I often use, just much more generalized …

Member Avatar for javaAddict
0
98
Member Avatar for and12

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. Anyways. If you're willing to give it the time, you could write your own fade in/fade …

Member Avatar for llemes4011
0
104
Member Avatar for 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 get commands to paint from one JVM to another. I tried …

Member Avatar for llemes4011
0
102
Member Avatar for freelancelote

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: [code]super.paintComponent(comp);[/code] as the first line in your paintComponent() method, as VernonDozier. That removes the previously painted Graphics before painting the next …

Member Avatar for freelancelote
0
209
Member Avatar for and12

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 >.< )

Member Avatar for llemes4011
0
98
Member Avatar for llemes4011

Hello. I'm writing an RMI application for my semester project, and I'm getting a really frustrating error! I have the interface PlugNPlayIMPL that contains 5 or so abstract methods. One method (init) is called and it creates a new JPanel in the class that was bond to the registry. Here's …

Member Avatar for llemes4011
0
796
Member Avatar for waffletaco

Waffletaco: Welcome to to Daniweb! I'm sorry you didn't learn anything in school, but we can't just give you code. This isn't a code bank, it's a discussion community. If you have a question about how something works, ask, but don't ask for a complete program, it just makes people …

Member Avatar for llemes4011
0
107
Member Avatar for daniellamae

Hello. Loading images is pretty simple. The way I normally do it is by using the Toolkit method createImage(String path); [code]Image img = Toolkit.getDefaultToolkit().createImage(/** Image Path as String */);[/code] Check out the java tutorial on images for a full explanation, and other, more efficient methods. [url]http://java.sun.com/docs/books/tutorial/2d/images/index.html[/url]

Member Avatar for llemes4011
0
170
Member Avatar for llemes4011

Hello, I'm trying to get my first RMI Program working, and I keep getting a Timed out exception. I believe that the error is occurring in the "bind" method... Does anyone know what the problem might be? Here's the code and the error: [code=Java] /** Server */ import java.rmi.registry.Registry; import …

Member Avatar for llemes4011
0
2K
Member Avatar for llemes4011

Hello, for the project I'm working on, I need to be able to access say, a JPanel object that was created from the execution of a Jar file, and use it inside another class outside of the Jar file. Any ideas? Thanks

Member Avatar for llemes4011
0
174
Member Avatar for nateuni

For the typeString method, you don't want to use nextLine(). You just want to use next(). nextLine() gets the NEXT LINE. If you have 2 lines of a String i.e., "I'm line 1 \n I'm line 2", it will return " I'm line 2". next() returns everything (I believe....). For …

Member Avatar for cgeier
0
344
Member Avatar for conan19870619

If you're asking about how to bring UP a window or do something when a hotkey is pressed, it would involve making an invisible Window that's always on top of everything else, and adding a key listener to that. (I think that would work, I haven't tried it, but I …

Member Avatar for harsh2327
0
2K
Member Avatar for llemes4011

Hi, school started back up the other day, and our first assignment (as a group of eight) is to create a Server/Client project that is used to play network games. Before I go further, I want to say that I HAVE done work on this, quite a bit. I just …

0
71
Member Avatar for Majestics

If you're doing an on-screen keyboard, you will most likely want the keyboard to [I]always be on top[/I]... im using it now, and it's state is 'inactive', yet it is still posting to the screen. This might be due to the fact that it can interact well with the Windows …

Member Avatar for Majestics
0
188
Member Avatar for llemes4011

Hello! Today I started a SourceForge project for the game that I'm making, and I wanted to get input on the Map Builder/Editor. I DID include a readme file that has directions, contact info, and future features. [URL="https://sourceforge.net/projects/jiso/files/Map%20Editor/"]JISO Map Builder[/URL] Please give me feedback, this is a project that I …

Member Avatar for llemes4011
0
207
Member Avatar for ashish2234

Hi. First off, please correctly use the code tags: http://www.daniweb.com/forums/announcement9-3.html Second, the syntax for drawString is: (Most likely used in the paint method) <GraphicsObject>.drawString("Text/String", xLoc, yLoc); Third, using pack() instead of setSize(int, int) is going to make your Window as small as possible, only constraining to the minimum sizes of …

Member Avatar for VernonDozier
0
106

The End.