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
5
votes
2 answers

wpf window (ui) blocked by long rendering operation - possible to use background thread for rendering?

The app window blocks while a rendering operation is active. I.e. when the Content property of a ContentControl is set. A user control which is a DataTemplate for the content is drawn. The freeze lasts between 5 and 10 seconds depending on the PC…
h.alex
  • 902
  • 1
  • 8
  • 31
5
votes
4 answers

Custom renderer at Xamarin.Forms could find a OnElementChanged method

I'm trying to implement custom label and iOS renderer for it using Xamarin.Forms. For some reason code from sample is using method which is not in a base class: OnElementChanged Any ideas how to fix?
Mando
  • 11,414
  • 17
  • 86
  • 167
5
votes
1 answer

Android and OpenGL gives black frame at startup

I'm currently writing an Android app for one my customers that has a GLSurfaceView with a GLSurfaceView.Renderer. My entire OpenGL stuff works just fine (it's basically a port of what another developer has written on iOS first). Except for one…
dirkvranckaert
  • 1,364
  • 1
  • 17
  • 30
5
votes
1 answer

Custom TableCellRenderer/TreeTableCellRenderer doesn't render Table cells

I made this CustomCellRenderer class intended to be used in JXTreeTable and JXTable objects since I have many of these in my project. So this class implements TreeCellRenderer and TableCellRenderer interfaces: public class CustomCellRenderer extends…
dic19
  • 17,821
  • 6
  • 40
  • 69
5
votes
1 answer

Matlab Fonts Not Rendering Correctly on Print or Export

I'm trying to make a matlab figure that nicely fits into a LaTeX Document. A known problem is that the XTickLabel and YTickLabels do not render using the LaTeX interpreter, causing bad looking plots. (Note: I realize there are some fixes out there…
mrsoltys
  • 1,075
  • 10
  • 13
5
votes
1 answer

How do I make my TreeCellRenderer fill my JTree?

How do I make my tree cells fill the width of my JTree: JTree tree = new JTree(); tree.setCellRenderer(new TreeCellRenderer() { @Override public Component getTreeCellRendererComponent(JTree tree, Object value, boolean selected,…
sdasdadas
  • 23,917
  • 20
  • 63
  • 148
5
votes
2 answers

How to change style (color, font) of a single JTree node

I have two JTree in two panels in a JFrame. I want to change the style(color and font) of nodes on drag and drop from one tree to the other.Please provide me a way to change the color of a JTree node permanently.
soumitra chatterjee
  • 2,268
  • 9
  • 26
  • 48
4
votes
1 answer

Recalculate style event in Chrome taking approximately 2 seconds

I'm working on a web application which has suddenly become extremely unresponsive in Google Chrome. There doesn't seem to be the same issue in any other browser (I tested with Firefox and Safari). For example, when clicking on an input textbox, it…
Jordan Brown
  • 13,603
  • 6
  • 30
  • 29
4
votes
1 answer

JFreeChart to represent 3D data in a 2D graph using colourmaps

I'm currently trying to use JFreeChart to represent 3D data in a 2D graph. Essentially, I have a 2d array called data[i][j]. The i and j represent the y and x coordinates where I want to plot. The value of data[i][j] represents a frequency value,…
Akib
  • 41
  • 1
  • 2
4
votes
2 answers

Use of IChoiceRenderer

In wicket IChoiceRenderer for DropDownChoice is used like : IChoiceRenderer renderer = new IChoicerRenderer() { public Object getDisplayValue(Object object) { return ((Country) object).getName(); } public String…
Tapas Bose
  • 28,796
  • 74
  • 215
  • 331
4
votes
2 answers

Setting (click) Attribute on Anchor Element

As I understand it it is not possible to dynamically add a '(click)' attribute to an element of the DOM using Renderer2 in Angular 2+. If this is true how do you lovely people add a '(click)' attribute when they are dynamically creating HTML in the…
Mike Poole
  • 1,958
  • 5
  • 29
  • 41
4
votes
0 answers

eclipse Photon redraws on keystroke on Ubuntu 18.04

Eclipse Photon appears to be re-rendering the screen on every keystroke and mouse click. This results in a jumpy motion that sees the menu being hidden and the menu bar partly draw. I have attached an image that shows the effect after the refresh.…
crafter
  • 6,246
  • 1
  • 34
  • 46
4
votes
1 answer

listenglobal renderer event trigger in angular 6 testing script

I want to test my RolesComponent listenGlobal Renderer method. RolesComponent code below. import { Component, OnInit, Renderer, AfterViewInit } from '@angular/core'; import { Router } from '@angular/router'; import { AhanaService } from…
Jai Kumaresh
  • 715
  • 1
  • 7
  • 33
4
votes
3 answers

Rail 3 custom renderer: where do put this code?

I'm following along with Yehuda's example on how to build a custom renderer for Rails 3, according to this post: http://www.engineyard.com/blog/2010/render-options-in-rails-3/ I've got my code working, but I'm having a hard time figuring out where…
Derick Bailey
  • 72,004
  • 22
  • 206
  • 219
4
votes
2 answers

What is the relation between render passes, command buffers and clearing of attachments in vulkan?

I am currently learning vulkan and came across above question that I can't seem to answer by reading the spec. When looking at the spec and code samples, it's always the same simplified workflow: begin commandbuffer begin renderpass …
C. Göbeler
  • 65
  • 1
  • 8