d2jsp
Log InRegister
d2jsp Forums > Off-Topic > Computers & IT > Programming & Development > Java Question Help Me ! :) > Info Inside.
Add Reply New Topic New Poll
Member
Posts: 3,982
Joined: Aug 24 2005
Gold: 28.00
Nov 26 2013 10:33am
Hi guys,
i am starting to learn java and its goin not well :/

What i need is code that would have the following information. If you could help me create it, or at least put me in right direction i would really appriate it.

Code
-When it starts it has a 810x610 non-resizeable window
-"Some Text Here" with 60 font Times New Roman as header
-"Some Text Here" with 48 font Times New Roman as sub-header
-Button "Continue" which clears the window to start a function.

In new window (after clicking continue) [B]-> this is the tricky part for me :/[/B]

I need a header space with borders.

And rest of the space on window @ bottom (should be around 400x800) to be divided into 2 parts

2 Circles Drawn in cardashian coordinates system with repect to a adjustable scroll of radius put in the middle.
Radius scroll can be limited to be between 0-10 idk i can always edit it.


So ill quickly draw in paint the idea:
This will be start for me and ill continue my work by understanding / editing through you directions.


Thank You Very Much, I promise will be checking this thread frequently. So you wont be wasting your time if you decide to help me.

This Project is Due to 4th of December. So i need it asap ^^

Cheers.
Member
Posts: 2,736
Joined: Nov 28 2009
Gold: 34.00
Nov 26 2013 12:21pm
More people will be willing to help you if you post a specific problem that you are having with your code, if you have any.
If you don't post code, only people who are ready to do your complete assignment will help you.

Try to create questions like:
- Why am I getting {this} error while compiling?
- What functions do I use to accomplish {this} behaviour?
- Why is {code} giving {error}?
- Why is {function} doing {that} instead of {this}?

If you're looking for someone to complete your entire assignment, I suggest going to Homework Help Hotline.

This post was edited by Eagl3s1ght on Nov 26 2013 12:23pm
Member
Posts: 3,982
Joined: Aug 24 2005
Gold: 28.00
Nov 26 2013 11:38pm
Quote (Eagl3s1ght @ 26 Nov 2013 20:21)
More people will be willing to help you if you post a specific problem that you are having with your code, if you have any.
If you don't post code, only people who are ready to do your complete assignment will help you.

Try to create questions like:
- Why am I getting {this} error while compiling?
- What functions do I use to accomplish {this} behaviour?
- Why is {code} giving {error}?
- Why is {function} doing {that} instead of {this}?

If you're looking for someone to complete your entire assignment, I suggest going to Homework Help Hotline.


The thing is i dont want people to complete my complete assignment ^^.

This is how far i have gone;
I have setup so that splash screenworks, and when i click the button it moves to second screen.
However i still cant add a circle with coordinate system which changes with radius adjustment like i have shown in paint. If someone could help me code that part. I think i can code the other shapes myself.

Member
Posts: 32,925
Joined: Jul 23 2006
Gold: 3,804.50
Nov 27 2013 12:01am
look into the graphics class. there's a drawoval method which draws it for you. then hook up an event listener to draw a new circle when you change it.
Member
Posts: 3,982
Joined: Aug 24 2005
Gold: 28.00
Nov 27 2013 11:51am
Quote (carteblanche @ 27 Nov 2013 08:01)
look into the graphics class. there's a drawoval method which draws it for you. then hook up an event listener to draw a new circle when you change it.


thx for the tip, i will certainly look into that.
Member
Posts: 9,147
Joined: May 11 2009
Gold: 5.01
Dec 12 2013 08:39pm
java.swing.jframe
Member
Posts: 16,218
Joined: Sep 27 2009
Gold: 13.00
Dec 18 2013 05:59am
Check awt.Graphics for your circle and swing for the other things.
If you are lazy, go download the Windows Builder plugin if you have Eclipse or NetBeans. Also, don't develop anything more when a previous thing doesn't work, you have to test unless you are sure of what you have already done.

This post was edited by Bremen on Dec 18 2013 05:59am
Go Back To Programming & Development Topic List
Add Reply New Topic New Poll