Forums Register Login

How to create user defined component??

+Pie Number of slices to send: Send
Hi u all,
I have a requirement to create a component in java without using java in-built class.
For example:--
i have to create a button which behaves like JButon component in java.

i m not getting how to proceed.

Any1 plz can give me any guideline.
waiting 4 ur kind response..
bbye
+Pie Number of slices to send: Send
Hi, it's a nice practice on this forum not to use the kind of abreviations you're using. There're a lot of people that don't have english as their first language (or just don't speak nice english) and might not understand your question.
Doing this you're only resctricting the number of answers you could get.
+Pie Number of slices to send: Send
Normally, the way to add custom behavor to components is to extend them; that is, create a subclass of JButton called MyButton (or some such). Why can you not use the built-in classes?
Arch enemy? I mean, I don't like you, but I don't think you qualify as "arch enemy". Here, try this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 590 times.
Similar Threads
creating HtmlSelectOneListbox dynamically
Tree Component
Lightweight component
Data Grid
look and feel
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 05:01:18.