Search Results

Showing results 1 to 34 of 34
Search took 0.03 seconds.
Search: Posts Made By: MrDiaz
Forum: Java Aug 13th, 2009
Replies: 1
Views: 449
Posted By MrDiaz
God I;m stupid, I forgot to add the classpath to my application for the driver
Forum: Java Aug 13th, 2009
Replies: 1
Views: 449
Posted By MrDiaz
I can connect from the services window but whenever I try to set the code myself on my app it tells me it cannot connect to the database.

Here's my code:

import java.sql.*;
public class...
Forum: Java Aug 13th, 2009
Replies: 2
Views: 221
Posted By MrDiaz
Sounds good, I'll go ahead and start with MySQL, I have experience with it from my PHP projects. Thanks for the input
Forum: Java Aug 13th, 2009
Replies: 2
Views: 221
Posted By MrDiaz
Hi, I've been thinking of ways of creating an application that involves working with data, what would be the best way to accomplish this?

With the JavaDB, MySQL or plain text files? The project...
Forum: Java May 14th, 2009
Replies: 28
Views: 1,083
Posted By MrDiaz
I haven't set up many use cases yet, I wanted to sort out the database issue first before moving onto anything else. As to what you mentioned previously, the way I have it set up right now allows me...
Forum: Java May 13th, 2009
Replies: 28
Views: 1,083
Posted By MrDiaz
Sure thing James, go ahead and tear me apart. I'm always up for learning, heck is why I'm doing this in the first place! I'd really appreciate it if you're willing to teach me
Forum: Java May 13th, 2009
Replies: 28
Views: 1,083
Posted By MrDiaz
Yeah that is not really necessary. I just want to be able to run the program on any machine I deploy it too.
Forum: Java May 13th, 2009
Replies: 28
Views: 1,083
Posted By MrDiaz
I would post my code but there are quite a few thousand lines. Is there a better place to upload the code to?
Forum: Java May 13th, 2009
Replies: 28
Views: 1,083
Posted By MrDiaz
yes setValues() gets the values from the GUI fields and sets the values for a Day object.

As to deploy the app to other systems, I would have to move the database to that system as well? Don't...
Forum: Java May 12th, 2009
Replies: 28
Views: 1,083
Posted By MrDiaz
Hi james, great response. I will try to explain a bit better what my app does. When I mentioned a log system, wasn't necessarily a log systems for users or similar. This is what my app does.

Is a...
Forum: Java May 12th, 2009
Replies: 28
Views: 1,083
Posted By MrDiaz
There's a little more data, users are not included there. I also have a config file for application position, first time users, small things like that.

Problem with using those text files is that...
Forum: Java May 11th, 2009
Replies: 28
Views: 1,083
Posted By MrDiaz
This is a small sample of my store method, will take the data the user entered on the GUI and save it to a text file.

public void store(String fileName) throws IOException {
Day newDay =...
Forum: Java May 11th, 2009
Replies: 28
Views: 1,083
Posted By MrDiaz
I have like 100, setters/getters for my variables. Some methods to load/save data on my files.
Forum: Java May 11th, 2009
Replies: 28
Views: 1,083
Posted By MrDiaz
Hi James, I have all my methods/class/variables set up. My program currently works using text files, that as I mentioned on my first post I don't think is a clever way of doing it.

I'd like to...
Forum: Java May 11th, 2009
Replies: 28
Views: 1,083
Posted By MrDiaz
To be more specific, the app is not really a log system. What I'm doing is a Pilot Log Book for students.

- There can be multiple students (users)
- Each student has daily entries (with a bunch...
Forum: Java May 10th, 2009
Replies: 28
Views: 1,083
Posted By MrDiaz
Hi everyone

I've been trying to develop a mid-scale (size wise) application in the past few days. Something I'm doing for fun, to get some experience. My application is some sort of log system, it...
Forum: Java May 6th, 2009
Replies: 2
Views: 228
Posted By MrDiaz
Great stuff! I knew it was going to be simple. Thanks a lot
Forum: Java May 6th, 2009
Replies: 2
Views: 228
Posted By MrDiaz
Hi,

How can I code it so I can make a new window appear on my application? Let's say, user hits a "new user" button, a new window is supposed to pop with TextFields and labels and so on.

In...
Forum: Java May 5th, 2009
Replies: 2
Views: 255
Posted By MrDiaz
Forum: Java May 5th, 2009
Replies: 2
Views: 255
Posted By MrDiaz
Hi everyone,

I'm working on an app that saves data on a text file, as we know, formatting text file is awful and not very user friendly. I'd like to save the information I've collected on my...
Forum: Java Dec 7th, 2008
Replies: 3
Views: 623
Posted By MrDiaz
Thanks a lot BestJewSinceJC! That helps a lot. :)
Forum: Java Dec 6th, 2008
Replies: 3
Views: 623
Posted By MrDiaz
I'm trying to create a simple program that will check for any given number (an ID) provided by the user and check this ID with an array of numbers inside my program. If the correct ID is given, it...
Forum: Java Nov 11th, 2008
Replies: 3
Views: 367
Posted By MrDiaz
Thanks for the link, and sorry I missed it
Forum: Java Nov 11th, 2008
Replies: 3
Views: 367
Posted By MrDiaz
class student looks like this

public class Student {
int age;
public Student (int age){
this.age = age;
}
}
Forum: Java Nov 11th, 2008
Replies: 3
Views: 367
Posted By MrDiaz
Hello, I'm creating a subclass from an already defined class. Let's say I have a class called Student and it has a default constructor. Now I want to create a child class of Student, but when I...
Forum: Java Nov 6th, 2008
Replies: 5
Views: 1,010
Posted By MrDiaz
Thanks that's a great link!
Forum: Java Nov 6th, 2008
Replies: 5
Views: 1,010
Posted By MrDiaz
I just did that quickly, without paying too much attention to the syntax. My question isn't related on syntax rather on how to use objects as 'data types" sorta to use them as arguments. Let me give...
Forum: Java Nov 6th, 2008
Replies: 5
Views: 1,010
Posted By MrDiaz
Hello, I'd like to create a function that accepts two objects and compares properties between them. Example

public boolean (obj1, obj2){
if obj1.property1 = obj2.property2
...
Forum: Java Oct 10th, 2008
Replies: 17
Views: 2,359
Posted By MrDiaz
I'm a big fan of game programming. Have you looked into designing a logic game? Such as Soduku, Chess, Knight's Tour is great although a bit simple. Like others said, it all depends on how far you're...
Forum: Java Oct 9th, 2008
Replies: 8
Views: 2,339
Posted By MrDiaz
Yeah I get that, but is not what I'm looking for. Thanks a lot of taking the time to do all this though.
Forum: Java Oct 9th, 2008
Replies: 8
Views: 2,339
Posted By MrDiaz
No, is not what I'm looking for. I don't want to print or return variable names of the object table. I want to print the actual object name. Example.

I can create a new table named 'two' or...
Forum: Java Oct 9th, 2008
Replies: 8
Views: 2,339
Posted By MrDiaz
Hi, suppose I have something like this on my main method.

public static void main (String[] args){
Table one = new Table();
}

How can I print the name of the object table?

Its so that I...
Forum: Java Oct 2nd, 2008
Replies: 3
Views: 2,700
Posted By MrDiaz
It was the System.out.print statement I guess, I missed that hehe.

Thanks.
Forum: Java Oct 2nd, 2008
Replies: 3
Views: 2,700
Posted By MrDiaz
Hi, I'm wondering how I can accomplish this.

Suppose I have the following array

String[] randomText = {"hi", "hello", "hey there"};

If I want to print the array I only know how to do so...
Showing results 1 to 34 of 34

 


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

©2003 - 2009 DaniWeb® LLC