Ricardo Arteaga

Greenhorn
+ Follow
since Mar 16, 2014
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Ricardo Arteaga

I wanted to know how to add my class sam that contains my database as two dimensional arrays and my other class that contains integer and my strings. I am confuse how to get created my GUI correctly?

I created a GUI that shows my two buttons and my Label. Now, i wanted to know how to add text in my window and have two choices either JTextField or if i can add text within my panel?
How to connect my buttons to one of my database words in my database class so it shows from starting words one at a time. when i hit the other button it will show me the word one at a time?




9 years ago
Mad lib is a java program where nouns and verbs are randomly replace with nouns and verbs. program uses three txt file.
a file that has my story with # - noun placeholder and % - verb placeholder.
program has to ask me for the three txt files and name of output file.

verb - running, play, swim, catch

noun - strawberry, cherry, grape, yard

example story: ben is # for the school.
his job is to get % ants in the #


result: ben is running for the school. his job is to get grape ants in the play.

I wanted to figure out how to display my output file once my three txt files are stored?
I want someone to point out what i am missing, program seem inbalance and missing something?

10 years ago
it was a typo thanks for all the help guys. really appreciate and want to try to get better at java aswell.
10 years ago
thanks it helps now its only one class.

How do i pass an instance of this
class to the JLabel constructor if
you want to display text in the label?

or i can Select one of these:
a. myLabel
b. myText
c. String
d. JTextField
e. JLabelText

10 years ago
okay fixed it


my other class should take in my set and get method:
which is call player class and i am trying to figure out how to
pass an instance of test class to player class to display text in
a jlabel, or jtextfield.

10 years ago
I created my get and set methods and trying to figure how to pull my get and set variables into my constructor in my other class named : player class?
let me know if this makes sense, trying to make it good.

10 years ago
1. Modify the following class so that the two instance variables are private, there is a constructor that accepts both the player's name and sport and there are get and a set methods for each instance variable:

public class Player {
String name;
String sport;
}


2. You can pass an instance of this class to the JLabel constructor if you want to display text in the label.Select one:
a. myLabel
b. myText
c. String
d. JTextField
e. JLabelText

I wanted someone to give me an idea on how to start making this work?
cause i am not familiar with the terms here and
want to complete this program and I am new to java programming?
10 years ago
thank you, it is difficult to do network with professional in my area but i could join an online website to interact with them. But, i will be reading more about programming.
I had a question if i were to make video teaching programming would that help me in anyways?
10 years ago
well so far i taught myself a bit of java, data structure, and operating system in school.
But i see my strong points is html, asp.net, and css.

So far i had projects to do ecommerce website and did fine on them. so far i realize there is an
internship and job fair at my school with those companies this thursday:

----------------------------------------------------------------------------------------------------------------------------------------
Adecco Staffing



Industry: Temporary, Temp to Hire and Direct Hire Staffing
Majors: Accounting, Business Administration, Chemistry, Communication Arts, Computer Science, Engineering, English, Finance, Graphic Design, Marketing, Mathematics, Medical Technology, Physics, Romance Languages, Social Sciences, Spanish, Sports Management, MBA Students (Graduate Level)
Position Available: Full-Time, Part-Time
Position Title: Customer Service, Engineering, Manufacturing, Administrative, Sales & Marketing, Finance & Accounting


Casabella
Industry: Housewares
Majors: Accounting, Actuarial Science, Art, Business Administration, Communication Arts, Computer Science, Engineering, Finance, Graphic Design, Liberal Arts & Sciences, Marketing
Position Available: Full-Time, Internship


Intercos America
Industry: Cosmetics Manufacturing Company
Majors: Accounting, Chemistry, Communication Arts, Marketing
Position Available: Full-Time, Internship
Position Title: Customer Service and Internships in Finance/sales/Production & Customer Service


Nice-Pak Products / PDI, Inc.
Industry: Consumer Products and Infection Prevention
Majors: Biochemistry, Biology/Biomedical Engineering, Chemistry, Engineering, Marketing
Position Available: Internship, Summer Temp
Position Title: Intern, Summer Temp


PKA Technologies
Industry: Information Technology
Majors: Communication Arts, Computer Science, Liberal Arts & Sciences, Marketing
Position Available: Full-Time, Internship
Position Title: Business Development Associate Technology Solution Architect

PrintPoint, Inc.




Industry: Print Industry
Majors: Computer Science, Engineering, English, Graphic Design
Position Available: Entry Level, Part-Time, Internship, Flexible, Freelance
Position Title: Tech Support, Telecommuting


PKA Technologies
Industry: Information Technology
Majors: Communication Arts, Computer Science, Liberal Arts & Sciences, Marketing
Position Available: Full-Time, Internship
Position Title: Business Development Associate Technology Solution Architect

PrintPoint, Inc.




Industry: Print Industry
Majors: Computer Science, Engineering, English, Graphic Design
Position Available: Entry Level, Part-Time, Internship, Flexible, Freelance
Position Title: Tech Support, Telecommuting


Better Homes and Gardens Rand Realty

Industry: Real Estate
Majors: Accounting, Business Administration, Communication Arts, Computer Science, Marketing
Position Available: Full-Time, Part-Time, Internship
Position Title: Accounting, Marketing, Relocation, HR, Insurance, Communications

BLU RIVER Media Group

Industry: Marketing & Public Relations
Majors: Accounting, Business Administration, Creative Writing, Graphic Design, Marketing
Position Available: Internship
Position Title: Accounting Coordination, Marketing Coordinator, IT Coordinator

Blue Hill Data Services



Industry: Computer Services
Majors: Business Administration, Computer Science, Marketing, MBA Students (Graduate Level)
Position Available: Full-Time Marketing Associate

so far, i learn things on my own just never got an internship. so i will see what happens then.




10 years ago
I am a junior in college studying computer science.
however the school does not teach us how to programs in java at all.

I wanted to ask you how i can get good at java programming and c++ programming?

I can add 8-10 hours of studying but wanted to know what is the best way?

What exactly should i be looking for?

I also want to be able to obtain an internship once i graduate in 2015?

how to get better at fixing errors in my programs aswell?
10 years ago
I need to figure how to calculate the child's height in float value but i dont know if im
doing it correctly and been trying to figure it out and stuck on it?
Also need help fixing value where if you choose male the accurate value, but
if you choose female the value will be accurate too.

based on http://www.calculator.net/height-calculator.html


10 years ago
fix the line


and delete java.awt
10 years ago
but basically when user enter female and adds value it should tell you the height value in float
or if user enter male tell height value in float based on gender.

The objective of my program is : For our next programming assignment we will write
an application that uses a relatively simply
predictive approach that is actually quite good:

1.Find the average of the parents’ height by
adding together the mother’s and father’s height
(either in inches or centimeters) and dividing by 2.

2.To calculate the height of a boy, add 2.5 inches
(6.5 centimeters) to the average of the parents’
height. To calculate the height of a girl,
subtract 2.5 inches (6.5 centimeters) to the
average of the parents’ height.

3.The resulting number is the “mid-parental height”
for girls or boys. The child’s adult height can be
expected to fall within a range of 4 inches
(10 centimeters) less or more than the
mid-parental height.

The requirements are:

•Write an application that will allow a user to
input (use dialog boxes) the parent's heights and
then outputs the predicted height as a range

•Implement a person class that has:

•attributes for gender and height,

•a constructor with two parameters (gender and height),

•a constructor with one parameter (gender),

•a constructor with one parameter (height),

•a default constructor,

•methods to get and set the attributes, and

•a method that accepts two parameters (Person objects)
and returns the estimated height as a float


I remember if it is a female child you subtract the age. if it is a boy child it is added.
------------------------------------------------------------------------------------------------------------------------------

i found this link that explains it: https://coderanch.com/t/569079/java/java/loops

10 years ago
for childHeightPredictor how can i work on the logic because i do not know where to start?
i did two integers for father and mother and parse them. But i dono if i need to turn double to float,
is there a guide or video that explain the logic correctly.
10 years ago


okay i fixed this, so far the calAverage should be a float to basically calculate the child height in decimal but iono how do that correctly.
10 years ago