Questions tagged [custom-component]

"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.

1083 questions
0
votes
1 answer

android custom component to layout

I would like to add my custom ImageView to the xml layout. main.xml :
Teo
  • 3,394
  • 11
  • 43
  • 73
0
votes
2 answers

Click on item of customlist-view is not working

This is my code for click on a customlistview. When I click on the header, it works but after header its not working. CustomAdapter is another class in my App where I have defined header and all variables of listview. Please help me to resolve this…
john
  • 359
  • 1
  • 4
  • 15
0
votes
1 answer

using double buffering kinda ruin my applet. and it has java uses or overrides a deprecated API

this is my code actually it's just a moving space invader game. i search the internet for the animation i have tried the double buffering, it gets rid the flickering but its ruining the entire output. it also has java uses or overrides a deprecated…
0
votes
1 answer

Simple view for Video component

I have to use the flash.media.Video component to play remote video files because I have a custom authentication mechanism (CRAM-MD5) in Red5 that doesn't allow to use VideoPlayer. I was trying to use OpenVideoPlayer but it fails on the server side…
haxpanel
  • 4,402
  • 4
  • 43
  • 71
0
votes
0 answers

Adding multiple custom LinearLayouts to LinearLayout, only first shows up

So I'm still trying to add a LinearLayout every time I click a button. Now the way I found lets show up only the first one I add, all others don't seem to be added or not on the visible surface of the Activity. First of all, my class…
Valentino Ru
  • 4,964
  • 12
  • 43
  • 78
0
votes
1 answer

How can I filter out specified keys in a DGV?

I want to only allow the user to enter 0..9, "." and backspace in my DGV. I thought the KeyDown event might be the ticket, with something like this: private void dataGridViewPlatypi_KeyDown(object sender, KeyEventArgs args) { args.Handled =…
B. Clay Shannon-B. Crow Raven
  • 8,547
  • 144
  • 472
  • 862
0
votes
1 answer

C++ Builder XE2 - linking resource with component

I have derived my own component based on class TCustomControl. I need to embedd into component bitmap resource stored in .png format. I added to project file resources.rc with this content: AP_LOGO RCDATA .\AP_logo_RGB_transparent.png Compilation…
truthseeker
  • 1,220
  • 4
  • 25
  • 58
0
votes
1 answer

Changing cursor size

I created a cursor using: BufferedImage im=null; try { im = ImageIO.read(new File("images/cursor1.jpg")); } catch (IOException ex) { Logger.getLogger(SRGView.class.getName()).log(Level.SEVERE, null, ex); } Cursor…
coolscitist
  • 3,317
  • 8
  • 42
  • 59
0
votes
1 answer

Custom Buttons on dynamic GUI

My Swing-Application sets the size of the JFrame via GraphicsEnvironment.getLocalGraphicsEnvironment().getMaximumWindowBounds(), and all Elements are relative to this values, so basically the application adapts to the screen resolution. Now I have a…
Valentino Ru
  • 4,964
  • 12
  • 43
  • 78
0
votes
1 answer

Implementing a JList from custom objects efficiently?

I need to implement a JList to display the contents of an Array-List. The ArrayList contains "custom" objects, from which I only want to display the title. A "custom object" can have - title - user etc. What would be the most efficient way to do…
Eugen
  • 1,537
  • 7
  • 29
  • 57
0
votes
1 answer

Custom view on android

I created a custom view MyView: package com.example; public class MyView extends View { public MyView(Context context) { super(context); } } And use it in layout xml:
Freewind
  • 193,756
  • 157
  • 432
  • 708
0
votes
4 answers

Java TCP communication transmission data structures

I am trying to make a small multiplayer game in Java. I got the tpc connection working, but for now i can only transmit strings. I would like to transmit more sophisticated data in packets, which would contain all the necessary data for…
DLabinac
  • 47
  • 8
0
votes
2 answers

android - adding buttons to a custom view

OK, I know this issue has been covered in different questions but I'm trying a different approach here. This is my custom View class: public class MyView extends View { Button mButton; public MyView(Context context) { …
Fox
  • 2,513
  • 2
  • 20
  • 24
0
votes
5 answers

How to show a GroupBox and its content on another form?

I have two forms. On the first form I have a virtual numpad (I have a GroupBox and inside I have number buttons and this is my virtual numpad). With this virtual numpad I enter numbers into a TextBox. On the second form I have another TextBox where…
modest and cute girl
  • 785
  • 4
  • 13
  • 24
0
votes
1 answer

Custom component namespace invokation

I am having problem with invoking a custom component in my Android projects in Eclipse. It seem that I do not understand how the namespace declarations belong together. I have checked several other threads here at SO, which at first seem to be…