java - How to create a custom Swing Component -


I always want to create custom components in Java, or want to customize existing ones, but as a result of my searches some Not even useful, so I decided to ask the Stack Overflow community:

Where can I find information about customizing the Java GUI component in general?

And when I mean to customize, I'm not talking about changing colors, fonts, etc. I mean, actually optimize them Here are two fake examples of components:

Notes
I started the question primarily how to create two custom components above. But then I realized there is no general question about hacking swing components. So I thought it would be better to create a list of resources.

If you are wondering how two components are used in counterfeit work, then this is:

A customized JScrollPane has two scroll bars for each orientation. Each scrollbar is different For example, outsiders will scroll normally and interiors move the scene in a more different way. I actually get a job (!) Response from Google Groups, but this was just code. The second is a custom JComboBox, when the popup list is expanded, eventually a JComponent occurs, it can be anything, with a simple JLable icon, with a pocket button that connects the list in a way.

But this question is not about those specific components. It's about learning how to build resources (websites, books, articles, etc.)

This article should be really helpful, it replicates a Windows slider control that has discrete steps and a constant limit.


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -