< prev index next >
src/java.desktop/share/classes/javax/swing/BufferStrategyPaintManager.java
Print this page
*** 78,88 ****
* a Map overkill.
*/
private ArrayList<BufferInfo> bufferInfos;
/**
! * Indicates <code>beginPaint</code> has been invoked. This is
* set to true for the life of beginPaint/endPaint pair.
*/
private boolean painting;
/**
* Indicates we're in the process of showing. All painting, on the EDT,
--- 78,88 ----
* a Map overkill.
*/
private ArrayList<BufferInfo> bufferInfos;
/**
! * Indicates {@code beginPaint} has been invoked. This is
* set to true for the life of beginPaint/endPaint pair.
*/
private boolean painting;
/**
* Indicates we're in the process of showing. All painting, on the EDT,
*** 684,696 ****
return (root == null) ? null : root.get();
}
/**
* Returns the BufferStartegy. This will return null if
! * the BufferStartegy hasn't been created and <code>create</code> is
* false, or if there is a problem in creating the
! * <code>BufferStartegy</code>.
*
* @param create If true, and the BufferStartegy is currently null,
* one will be created.
*/
public BufferStrategy getBufferStrategy(boolean create) {
--- 684,696 ----
return (root == null) ? null : root.get();
}
/**
* Returns the BufferStartegy. This will return null if
! * the BufferStartegy hasn't been created and {@code create} is
* false, or if there is a problem in creating the
! * {@code BufferStartegy}.
*
* @param create If true, and the BufferStartegy is currently null,
* one will be created.
*/
public BufferStrategy getBufferStrategy(boolean create) {
< prev index next >