Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
Ranked #3K
~12.5K People Reached
Favorite Tags
Member Avatar for MrDiaz

Hi, suppose I have something like this on my main method. [CODE=Java]public static void main (String[] args){ Table one = new Table(); }[/CODE] How can I print the name of the object table? Its so that I can print something like this Table one: Color is ... Texture is.... etc

Member Avatar for masijade
0
9K
Member Avatar for hasbeenbad

Hello, I have a question, if you please. I have been trying to fill an array with values from a text file for hours. I has been 12 years since I have used any C code, and I thought I would be able to remember this. I have an opportunity …

Member Avatar for Adak
0
1K
Member Avatar for MrDiaz

Hey folks, I am trying to normalize a view on a given output. This is how it works, I need to print several characters but the maximum chars i can print have to be 40 per line. [QUOTE]aaaaaaaaaaaaaaaaaaaaaaaaaaaaa...till 40 aaaaaaaaaaaaaaaaaaaaaaaaaaaaa bbbbbbbb[/QUOTE] The algorithm works as follows: I have to find …

Member Avatar for MrDiaz
0
123
Member Avatar for MrDiaz

I have an array codes[26] which contains numbers inside {25,4646,23,12,.....29} Each position in the array corresponds to a letter of the alphabet. code[0] is a, code[1] is b, etc... I'd like to print the occurrences of each letter, something like this. If there are 12 A's, 5 B's AAAAAAAAAAAAA BBBBB …

Member Avatar for MrDiaz
0
113
Member Avatar for MrDiaz

Hey everyone, I have a series of loops that read through a text file and then output the occurrences for each letter on the file. This seems to be fine when using small text only. When providing a lot of text it just takes too many CPU resources and that's …

Member Avatar for Tellalca
0
114
Member Avatar for MrDiaz

Hi folks, I've been trying to solve this but I keep hitting a brick wall. Here's what I am trying to do: I'm reading a file with text in it, I am storing every letter of this file as an element of this array (this part is already done) and …

Member Avatar for Ral78
0
99
Member Avatar for MrDiaz

Hi everyone, I'm trying to accomplish the following; I need to create 2 subprocesses and each subprocess should create a process of their own. Should look like this: [QUOTE]I'm child xxxx parent xxxx I'm the subchild xxxx parent xxxx I'm the second child xxxx parent xxxx I'm the second subchild …

Member Avatar for MrDiaz
0
104
Member Avatar for jlego

not sure if this is the right section to post this in or not i have a windows network windows 03 server as a dns / ad server and the domain name is jewels each pc connects to the network as user@jewels recently i was asked to change the wallpaper …

Member Avatar for MrDiaz
0
84
Member Avatar for 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: [CODE=java]import java.sql.*; public class LogBook { public static void main (String[] args) { connectToDB(); } // Connect to the …

Member Avatar for MrDiaz
0
171
Member Avatar for 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 is fairly simple, the idea at least. It's a set of records for students, each student …

Member Avatar for MrDiaz
0
73
Member Avatar for 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 can have different users, each user has its own log entries (or records) and so …

Member Avatar for JamesCherrill
0
188
Member Avatar for 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 Dephi is something like, Form1.show; How do I do this …

Member Avatar for MrDiaz
0
73
Member Avatar for 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 program on a nicely formatted excel file. Given the file it's already created, …

Member Avatar for MrDiaz
0
102
Member Avatar for 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 will display "Valid ID" if the ID provided by the user …

Member Avatar for MrDiaz
0
124
Member Avatar for 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 create it, it seems that it's taking the constructor instead of the actual …

Member Avatar for MrDiaz
0
87
Member Avatar for MrDiaz

Hello, I'd like to create a function that accepts two objects and compares properties between them. Example [code=java]public boolean (obj1, obj2){ if obj1.property1 = obj2.property2 return true else return false } [/code] How can I do this?

Member Avatar for MrDiaz
0
113
Member Avatar for IKnowNothin'

If anyone has an idea for a program written in Java please reply. This is about my degree in cs so I would like to hear many ideas. I've seen many projects and haven't find something :-/ Thanks in advance Alex...

Member Avatar for IKnowNothin'
0
258
Member Avatar for MrDiaz

Hi, I'm wondering how I can accomplish this. Suppose I have the following array [CODE]String[] randomText = {"hi", "hello", "hey there"}[/CODE]; If I want to print the array I only know how to do so line by line. [CODE]for (int num = 0; num < randomText.length; num++){ System.out.println(randomText[num]); }[/CODE] Can …

Member Avatar for MrDiaz
0
187