- Strength to Increase Rep
- +6
- Strength to Decrease Rep
- -1
- Upvotes Received
- 5
- Posts with Upvotes
- 5
- Upvoting Members
- 5
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
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…
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 … | |
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, … | |
Re: I suggest taking a look at the JFileViewer class. | |
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! … | |
Re: 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 … | |
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 … | |
Re: 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. | |
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 … | |
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 … | |
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, … | |
Re: 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++ … | |
Re: 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 … | |
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 … | |
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 … | |
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 … | |
Re: 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 … | |
Re: 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 … | |
Re: 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 … | |
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? | |
Re: 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 … | |
Re: 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 … | |
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 … | |
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 … | |
Re: 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. | |
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 … | |
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 … | |
Re: 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. =) | |
Re: 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: … | |
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 … | |
Re: 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). |