< prev index next >
application/tests/org.openjdk.jmc.greychart.test/src/test/java/org/openjdk/jmc/greychart/testutil/RenderingOutOfOrderTester.java
Print this page
@@ -79,28 +79,28 @@
/**
* @see java.awt.event.MouseListener#mouseClicked(java.awt.event.MouseEvent)
*/
@Override
public void mouseClicked(MouseEvent e) {
- System.out.println("Adding value!"); //$NON-NLS-1$
+ System.out.println("Adding value!");
doStep();
}
/**
* @see java.awt.event.MouseListener#mouseEntered(java.awt.event.MouseEvent)
*/
@Override
public void mouseEntered(MouseEvent e) {
- System.out.println("Entered graph!"); //$NON-NLS-1$
+ System.out.println("Entered graph!");
}
/**
* @see java.awt.event.MouseListener#mouseExited(java.awt.event.MouseEvent)
*/
@Override
public void mouseExited(MouseEvent e) {
- System.out.println("Exited graph!"); //$NON-NLS-1$
+ System.out.println("Exited graph!");
}
}
/**
@@ -121,30 +121,30 @@
SeriesProviderSet<ITimestampedData> provider = new SeriesProviderSet<>();
SINUS_DATA = new TimestampDataSeries();
SAW_DATA = new TimestampDataSeries();
provider.addDataSeries(SAW_DATA);
provider.addDataSeries(SINUS_DATA);
- String title = "Out of order rendering test. Click for next point!"; //$NON-NLS-1$
+ String title = "Out of order rendering test. Click for next point!";
DefaultXYGreyChart<ITimestampedData> graph = new DefaultXYGreyChart<>();
DefaultYAxis yaxis_left = new DefaultYAxis(graph);
DefaultYAxis yaxis_right = new DefaultYAxis(graph);
yaxis_left.setMin(MIN_Y);
yaxis_left.setMax(MAX_Y);
yaxis_left.setTickSize(4);
yaxis_left.setNumberOfTicks(20);
yaxis_left.setAlwaysShowZero(false);
yaxis_left.setAutoPadding(0.05);
- yaxis_left.setTitle("Saw value"); //$NON-NLS-1$
+ yaxis_left.setTitle("Saw value");
yaxis_left.setPosition(Position.LEFT);
yaxis_right.setMin(MIN_Y);
yaxis_right.setMax(MAX_Y);
yaxis_right.setTickSize(4);
yaxis_right.setNumberOfTicks(20);
yaxis_right.setAlwaysShowZero(false);
yaxis_right.setAutoPadding(0.05);
- yaxis_right.setTitle("Sine value"); //$NON-NLS-1$
+ yaxis_right.setTitle("Sine value");
yaxis_right.setPosition(Position.RIGHT);
graph.setMetadataProvider(new DefaultMetadataProvider());
graph.setAutoUpdateOnAxisChange(true);
xaxis = new DateXAxis(graph);
@@ -156,18 +156,18 @@
graph.setXAxis(xaxis);
graph.addYAxis(yaxis_left);
graph.addYAxis(yaxis_right);
- graph.getXAxis().setTitle("Time"); //$NON-NLS-1$
+ graph.getXAxis().setTitle("Time");
panel = new GreyChartPanel(graph);
graph.setIndexRenderer(new DefaultVerticalIndexRenderer(graph));
panel.setBackground(new Color(240, 240, 240));
panel.addMouseListener(new MyMouseListener());
- panel.setName("rendering performance"); //$NON-NLS-1$
+ panel.setName("rendering performance");
panel.setBackground(Color.WHITE);
panel.getChart().getPlotRenderer().setBackground(Color.LIGHT_GRAY);
// Range chosen to provoke interpolation.
xaxis.setRange(105, 1015);
graph.setAntialiasingEnabled(false);
< prev index next >