Questions tagged [renderer]

A renderer is a software construct that accepts and transforms information so that it can be displayed in a given medium.

A renderer is a software construct that accepts and transforms information so that it can be displayed in a given medium.

930 questions
4
votes
1 answer

Choosing a renderer - difference between default and J2D?

The Processing size() documentation says: In addition to the default renderer, other renderers are: P2D, P3D, PDF So what's the difference between Default and J2D? There used to be JAVA2D, P2D, P3D and OPENGL before v2 and I believe that P3D is…
CatsLoveJazz
  • 829
  • 1
  • 16
  • 35
4
votes
1 answer

Render JSF h:message with p element instead of span

I would like to create a custom message renderer to renders h:message as a 'p' html element instead of as a 'span' element. It concerns the following message tag: I've written…
Kees de Boer
  • 41
  • 1
  • 2
4
votes
3 answers

Fatal error: Call to a member function setColumn() on a non-object in Magento

Fatal error: Call to a member function setColumn() on a non-object in D:\Program Files\wamp\www\magento\app\code\core\Mage\Adminhtml\Block\Widget\Grid\Column.php on line 291 in admin grid section i used this columns details protected function…
gowri
  • 41
  • 1
  • 5
4
votes
1 answer

Dynamically change icon of specific nodes in JTree

I've seen plenty of examples for changing the icon of nodes during tree instantiation, but I'd like a way to dynamically change the icon of an individual node later. So, in my main code I add my custom renderer to my tree: // Icon I want to set…
Matt
  • 295
  • 3
  • 6
  • 17
4
votes
8 answers

3d Realtime Software Renderer Open Source

Is there a good 3d realtime software renderer with features similar to OpenGL/DirectX? Something similar of what cairo or anti-grain do for 2d, but in 3d. I actually just know Mesa witch has a software OpenGL implementation , and Coco3d. It should…
QbProg
  • 1,675
  • 1
  • 14
  • 18
4
votes
2 answers

GLSurfaceView.Renderer crashes when resuming because "bitmap is recycled"

once again I need some help: yesterday I asked this question that was about the way to use a large jpg image as a Bitmap (http://stackoverflow.com/questions/13511657/problems-with-big-drawable-jpg-image) and I resolved myself (Is my own response on…
JxXx
  • 111
  • 1
  • 7
4
votes
3 answers

Widgets in JTable cells

Widgets in JTable columns are expected to be not distinguishable from normal ones, right? There seems to be behavioral difference, take Swing documentation example and move mouse over checkboxes in the Vegetarian column... They don't react at all. I…
Tegiri Nenashi
  • 3,066
  • 2
  • 19
  • 20
4
votes
4 answers

Display Page without any HTML rendering

I have an inconsistency between two pages.The PHP is dumping the variables and I need to be able to see the raw data in the variable without an HTML render rendering anything that might be in them. The post rendered version are 100% identical, but…
Case
  • 4,244
  • 5
  • 35
  • 53
4
votes
1 answer

How to render a composite component using a custom renderer?

I would like to know how to render a composite component, through Java, I mean I have:
Angel
  • 155
  • 1
  • 1
  • 14
4
votes
1 answer

JFreeChart different colors in different regions for the same dataSeries

In JFreeChart I'm trying to color different regions of an XY line chart/curve based on y value. I'm overriding the XYLineAndShapeRenderer's getItemPaint(int row, int col), however I'm not sure how it handles the coloring of the line between the xs…
user121196
  • 30,032
  • 57
  • 148
  • 198
4
votes
1 answer

How to findout component-family and renderer-type of a JSF component

How can I findout the component-family and the (default) renderer-type of a JSF component? These information are necessary when (overriding custom renderers) using the following annotation: @FacesRenderer(componentFamily="",rendererType="") I…
siva636
  • 16,109
  • 23
  • 97
  • 135
4
votes
1 answer

JTextArea as cell renderer does not seem to work with wrap style word

I have a JTextArea that I'm using as a cell renderer for a table. In the getTableCellRenderercomponent method I have: setText(getTextForCell()); setSize(table.getColumnModel().getColumn(column).getWidth(), 0); …
Jeff Storey
  • 56,312
  • 72
  • 233
  • 406
3
votes
3 answers

Swing JTable customization for filtering/searching

I'd like to add filtering/searching capability for all columns (so that it is generic) the logic is not a problem. However, I was thinking is that the best way to do that in terms of visualization is having a text field above each column header (or…
GBa
  • 976
  • 11
  • 16
3
votes
3 answers

Controlling flex chart axes

I want to use small flex charts with just 3 labels, for example a chart over the past 2 hours , with 3 horizontal label, as shown below: | | | 9:46 10:46 11:46 (of course, there are more than 3 values to display!) I have…
Francis
3
votes
1 answer

How to embed a (working) Button in a Swing Table in Scala?

I'm trying to use Scala/Swing to create a Table, one of whose columns is populated by Buttons. My starting point is the SCells spreadsheet example from Odersky et al's book, and in particular the use of rendererComponent to control the Component…
gimboland
  • 1,926
  • 2
  • 19
  • 28