java - Drawing a text field without the use of JTextField etc -
i'm making launcher game i'm developing , use graphics2d render buttons, gui etc. i've extended class (launcher.java) canvas. means can't use jtextfields (plus ugly anyway). question is, how make text field without use of jtextfield, means rendering it, getting key input display input. thanks.
you state: i'm making launcher game i'm developing , use graphics2d render buttons, gui etc.
you seem re-inventing wheel. why not instead use or create , feel works well.
you state: i've extended class (launcher.java) canvas.
by committing awt components unnecessarily limiting can do. why not stick swing components?
you state: means can't use jtextfields
you can if stick swing.
you state: (plus ugly anyway).
without images, it's hard discuss point.
you state: question is, how make text field without use of jtextfield, means rendering it, getting key input display input.
again, why commit re-invent wheel? use swing components including jtextfields, avoid awt, , if still feel gui ugly, consider posting images , small compilable , runnable program can mess , shows directly problem.
Comments
Post a Comment