I am making an Applet used to design a part in a CAD style. Linear Dimensions with labels and arrows, etc.
Are there any pre-made dimension classes?
If not, how would yo implement it?
I am making an Applet used to design a part in a CAD style. Linear Dimensions with labels and arrows, etc.
Are there any pre-made dimension classes?
If not, how would yo implement it?
anybody?
looks like a DIY job
what do yo want to do? ???
Well it’s not exactly going to be much to implement in comparison to having a CAD applet. I wouldn’t worry about it too much.
Is that for your Text? there’s a StringMetrics interface that can mesure the Strings dimensions. ???
Sorry for the vague responce, I had to run.
A basic example is I make a box and want dimension lines that visually show the length of X,Y,Z sides. This way a user can just glance and know what size to build a real life box.
some Swing components do provide graphic metric rules that display on sides of the component. May be at Swinglabs.org or directly by the std JDK.