"custom component" is a generic term for a manually developed UI component for a component based UI framework. When using JSF, please don't confuse this with "composite component", where the component is definied by XHTML using cc:xxx tags instead of by a Java class extending UIComponent.
Questions tagged [custom-component]
1083 questions
4
votes
2 answers
Code Editor in C#
i am writing a small app to manage code snippets , so i want a component to display the code (keyword coloring , lines numbering ...) , so where to get this component and if it doesnt exist how to implement it .
edit : i dont want to write a code…

Radi
- 6,548
- 18
- 63
- 91
4
votes
1 answer
Costume component error "no ComponentUI class"
I am creating a costume component in Model UIDelegate using DrawPad example. However, for some reason I get the error UIDefaults.getUI() failed: no ComponentUI class. I am not even sure if I am implementing Model UIDelegate properly. But why am I…

Victor Luna
- 1,746
- 2
- 17
- 36
4
votes
2 answers
Is this possible to add count number to select box?
I have a select box like this

Eezo
- 1,586
- 2
- 15
- 25
4
votes
1 answer
custom java Swing component Model, UIDelegate, component format
I was given the task to create a custom swing component. I have my component functioning properly in a test application which includes JSlider that is used to zoom in and out on an Image. However I am required to present my custom component in a…

Wheels99
- 87
- 7
4
votes
4 answers
How to make Round JButtons in Java
First, I am a Web Developer and a novice Java programmer.
My boss is asking me to make this button in an application:
My custom button class must extend JButton or BasicButtonUI so that it can be reused.
I did some research on Stack Overflow, but…
user3229635
4
votes
1 answer
Change the location of the accessory component in a filechooser
I have a problem in changing the location of the accessory component in a filechooser.
I customized a save file dialog by putting a check box in the accessory component of the file chooser. But the position of the check box is not good, it is really…

Anping Wang
- 43
- 4
4
votes
3 answers
DART custom elements (Vanilla DART without Polymer)
I came through DART custom elements, from dartlang.org site, here and here.
If I understood correctly,this is a vanilla DART custom element, not related to Polymer custom tags.
I wrote the below code,
class CustomElement extends HtmlElement…

Hasan A Yousef
- 22,789
- 24
- 132
- 203
4
votes
1 answer
Flex - Custom Component - Percentage Width/Height
I am trying to create a Custom Flex Component using the Flex Component framework:
http://www.adobe.com/livedocs/flex/3/html/help.html?content=ascomponents_advanced_3.html.
All good components allow you to define their dimensions using percentage…

Hamish
- 796
- 2
- 14
- 25
4
votes
2 answers
Is it possible to use a library just for design time in delphi?
I am trying to write a component which is loading 3D objects from obj files.
I am using ToolsAPI library for GetActiveProject.FileName. I added designide.dcp to Requiers part in the bpl. I registered my object and in design when I put an instance of…

Loghman
- 1,500
- 1
- 14
- 30
4
votes
2 answers
Custom regions for code folding in Notepad++
Is there any way to create custom named regions for Notepad++ to fold them?
I've seen some talk about it but found no functional example of how to.

Hikari
- 3,797
- 12
- 47
- 77
4
votes
3 answers
In my custom component, how can I augment the mouse-enter and -leave events?
I am making a custom Panel component which derives TPanel.
I want for my new component to have some code executed on the OnMouseEnter and OnMouseLeave events, however, i do not know how to implement it.
I see that TPanel has published properties…

user1651105
- 1,727
- 4
- 25
- 45
4
votes
0 answers
Intended behavior of required=true in composite component?
I'm a little bit confused about the rquired="true" attribute in a composite components.

Thor
- 6,607
- 13
- 62
- 96
4
votes
1 answer
Define a required attribute for
Is it possible to define the stylable attributes as required? (as in XSD schemas)
The above XML does not work, is there another…

ilomambo
- 8,290
- 12
- 57
- 106
4
votes
2 answers
Is there a more productive way to build and test components?
I would like to know how everyone else is writing their components and testing them out?
The way I am doing it seems to be taking too long, so I hope someone could maybe point something obvious that I might have overlooked or could do instead to…
user1175743
4
votes
1 answer
Android custom component works fine at runtime, but doesn't work at design time
I am doing my first steps in Android development.
In the meantime I am trying to create a custom component (for testing purposes) that will later be used on an Activity.
Here's the code for ClearableEditText.java:
import…

droidptdev
- 41
- 1