So I find myself in an unknown environment, that being programming and java, with a tool I have barely poked at that being netbeans, needing to form an interactive graphic to show an angle in degrees.
So in the beginning I would imagine centre point, 0.0, then a line represeting the fixed radius(or dynamic which ever is simpler to implement). This line would eminate from the point of origin to the mouse pointer (toward it if static or all the way to the pointer if dynamic).
When the mouse is moved, the line starts to draw a sector, or pizza slice which ever you prefer, showing the current angle at the centre, up to full 360 degrees, or a perfect circle.
I don't have any code to present as this really isn't my forte, but if anyone could point me to some tutorials that directly concern what I want to do, or has any step by step instructions or ideas to get me moving toward this goal, it would be very greatly appreciated!
Noobs and code, terrible match up :o
Re: Graphic angle
Looks like 2d drawing using Swing may be something you might want to use...see the following links. The basics of doing it this way would be to create a JFrame, add a JPanel in which the paintComponent method is overridden (this is where the drawing goes). If you want user interaction, you will want to add listeners to the JPanel (such as a MouseListener)
Trail: Creating a GUI With JFC/Swing (The Java™ Tutorials)
Trail: 2D Graphics (The Java™ Tutorials)