bugged stringlengths 6 599k | fixed stringlengths 10 599k | __index_level_0__ int64 0 1.13M |
|---|---|---|
public Dimension positionPositioned(CssContext cssCtx) { int initialX = this.x; int initialY = this.y; CalculatedStyle style = getStyle().getCalculatedStyle(); boolean usePaddingBox = false; Rectangle paddingBox = null; int width = getContainingBlock().getContentWid... | public Dimension positionPositioned(CssContext cssCtx) { int initialX = this.x; int initialY = this.y; CalculatedStyle style = getStyle().getCalculatedStyle(); boolean usePaddingBox = false; Rectangle paddingBox = null; int width = getContainingBlock().getContentWid... | 34,713 |
public Dimension positionPositioned(CssContext cssCtx) { int initialX = this.x; int initialY = this.y; CalculatedStyle style = getStyle().getCalculatedStyle(); boolean usePaddingBox = false; Rectangle paddingBox = null; int width = getContainingBlock().getContentWid... | public Dimension positionPositioned(CssContext cssCtx) { int initialX = this.x; int initialY = this.y; CalculatedStyle style = getStyle().getCalculatedStyle(); boolean usePaddingBox = false; Rectangle paddingBox = null; int width = getContainingBlock().getContentWid... | 34,714 |
public Dimension positionPositioned(CssContext cssCtx) { int initialX = this.x; int initialY = this.y; CalculatedStyle style = getStyle().getCalculatedStyle(); boolean usePaddingBox = false; Rectangle paddingBox = null; int width = getContainingBlock().getContentWid... | public Dimension positionPositioned(CssContext cssCtx) { int initialX = this.x; int initialY = this.y; CalculatedStyle style = getStyle().getCalculatedStyle(); boolean usePaddingBox = false; Rectangle paddingBox = null; int width = getContainingBlock().getContentWid... | 34,715 |
public Dimension positionPositioned(CssContext cssCtx) { int initialX = this.x; int initialY = this.y; CalculatedStyle style = getStyle().getCalculatedStyle(); boolean usePaddingBox = false; Rectangle paddingBox = null; int width = getContainingBlock().getContentWid... | public Dimension positionPositioned(CssContext cssCtx) { int initialX = this.x; int initialY = this.y; CalculatedStyle style = getStyle().getCalculatedStyle(); boolean usePaddingBox = false; Rectangle paddingBox = null; int width = getContainingBlock().getContentWid... | 34,716 |
public Icon getDefaultIcon() { UIDefaults defaults = UIManager.getLookAndFeelDefaults(); return defaults.getIcon("CheckBox.icon"); } | public Icon getDefaultIcon() { UIDefaults defaults = UIManager.getLookAndFeelDefaults(); return defaults.getIcon("CheckBox.icon"); } | 34,717 |
public static void main(String[] args) throws Exception { //System.out.println(new URI("images/Stop24.gif")); JFrame frame = new JFrame(); frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); final BrowserStartup bs = new BrowserStartup(); bs.frame = frame; ... | public static void main(String[] args) throws Exception { //System.out.println(new URI("images/Stop24.gif")); if(GeneralUtil.isMacOSX()) { System.setProperty("apple.laf.useScreenMenuBar", "true"); System.setProperty("com.apple.mrj.application.apple.menu.about.name","FS Browser"); } ... | 34,718 |
public String toString() { return "delivery[" + ref + "](" + (isDone() ? "done" : "active" ) + ")"; } | public String toString() { return "Delivery[" + ref + "](" + (isDone() ? "done" : "active" ) + ")"; } | 34,722 |
protected boolean passesConditions(String conditionType, List conditions, Map transientVars, PropertySet ps, int currentStepId) throws WorkflowException { if ((conditions == null) || (conditions.size() == 0)) { return true; } boolean and = "AND".equals(conditionType); boolean ... | protected boolean passesConditions(String conditionType, List conditions, Map transientVars, PropertySet ps, int currentStepId) throws WorkflowException { if ((conditions == null) || (conditions.size() == 0)) { return true; } boolean and = "AND".equals(conditionType); boolean ... | 34,723 |
public boolean containsKey(Object key) { return k2v.containsKey(key); } | public synchronized boolean containsKey(Object key) { return k2v.containsKey(key); } | 34,724 |
public Object get(Object key) { return k2v.get(key); } | public synchronized Object get(Object key) { return k2v.get(key); } | 34,725 |
Object getKey(Object value) { return v2k.get(value); } | public synchronized Object getKey(Object value) { return v2k.get(value); } | 34,726 |
public void put(Object key, Object value) { k2v.put(key, value); v2k.put(value, key); } | public synchronized void put(Object key, Object value) { k2v.put(key, value); v2k.put(value, key); } | 34,727 |
public void removeKey(Object key) { Object value = k2v.get(key); if (value!=null) { k2v.remove(key); v2k.remove(value); } } | public synchronized void removeKey(Object key) { Object value = k2v.get(key); if (value!=null) { k2v.remove(key); v2k.remove(value); } } | 34,728 |
public Object invoke(Invocation invocation) throws Throwable { if (invocation instanceof MethodInvocation) { MethodInvocation mi = (MethodInvocation)invocation; Method m = mi.getMethod(); String methodName = m.getName(); JMSAdvisor jmsAdvisor = (JMSAdvisor)mi.getAdvisor();... | public Object invoke(Invocation invocation) throws Throwable { if (invocation instanceof MethodInvocation) { MethodInvocation mi = (MethodInvocation)invocation; Method m = mi.getMethod(); String methodName = m.getName(); JMSAdvisor jmsAdvisor = (JMSAdvisor)mi.getAdvisor();... | 34,729 |
public Object invoke(Invocation invocation) throws Throwable { if (invocation instanceof MethodInvocation) { MethodInvocation mi = (MethodInvocation)invocation; Method m = mi.getMethod(); String methodName = m.getName(); JMSAdvisor jmsAdvisor = (JMSAdvisor)mi.getAdvisor();... | public Object invoke(Invocation invocation) throws Throwable { if (invocation instanceof MethodInvocation) { MethodInvocation mi = (MethodInvocation)invocation; Method m = mi.getMethod(); String methodName = m.getName(); JMSAdvisor jmsAdvisor = (JMSAdvisor)mi.getAdvisor();... | 34,730 |
public Object invoke(Invocation invocation) throws Throwable { if (invocation instanceof MethodInvocation) { MethodInvocation mi = (MethodInvocation)invocation; Method m = mi.getMethod(); String methodName = m.getName(); JMSAdvisor jmsAdvisor = (JMSAdvisor)mi.getAdvisor();... | public Object invoke(Invocation invocation) throws Throwable { if (invocation instanceof MethodInvocation) { MethodInvocation mi = (MethodInvocation)invocation; Method m = mi.getMethod(); String methodName = m.getName(); JMSAdvisor jmsAdvisor = (JMSAdvisor)mi.getAdvisor();... | 34,731 |
public MessageCallbackHandler(boolean isCC) { this.messages = new BoundedBuffer(capacity); this.isConnectionConsumer = isCC; } | public MessageCallbackHandler(boolean isCC) { this.messages = new BoundedBuffer(capacity); this.isConnectionConsumer = isCC; } | 34,732 |
public void close() { if (isClosed()) { if (log.isTraceEnabled()) { log.trace(this + " already closed, returning"); } return; } setClosed(true); log.debug("closing " + this); if (receivingThread != null) { receivingThread.interrupt(); if (log.isTra... | public void close() { synchronized (closedLock) { if (log.isTraceEnabled()) { log.trace(this + " already closed, returning"); } return; } setClosed(true); log.debug("closing " + this); if (receivingThread != null) { receivingThread.interrupt(); if ... | 34,733 |
public void close() { if (isClosed()) { if (log.isTraceEnabled()) { log.trace(this + " already closed, returning"); } return; } setClosed(true); log.debug("closing " + this); if (receivingThread != null) { receivingThread.interrupt(); if (log.isTra... | public void close() { if (isClosed()) { if (log.isTraceEnabled()) { log.trace(this + " already closed, returning"); } return; } setClosed(true); log.debug("closing " + this); if (receivingThread != null) { receivingThread.interrupt(); if (log.isTra... | 34,734 |
public void close() { if (isClosed()) { if (log.isTraceEnabled()) { log.trace(this + " already closed, returning"); } return; } setClosed(true); log.debug("closing " + this); if (receivingThread != null) { receivingThread.interrupt(); if (log.isTra... | public void close() { if (isClosed()) { if (log.isTraceEnabled()) { log.trace(this + " already closed, returning"); } return; } setClosed(true); log.debug("closing " + this); if (receivingThread != null) { receivingThread.interrupt(); if (log.isTra... | 34,735 |
public void handleCallback(Callback callback) throws HandleCallbackException { if (log.isTraceEnabled()) { log.trace("receiving message " + callback.getParameter() + " from the remoting layer"); } Message m = (Message)callback.getParameter(); try { boolean cancel = false; if (!i... | public void handleCallback(Callback callback) throws HandleCallbackException { if (log.isTraceEnabled()) { log.trace("receiving message " + callback.getParameter() + " from the remoting layer"); } Message m = (Message)callback.getParameter(); try { boolean cancel = false; if (!i... | 34,736 |
public void handleCallback(Callback callback) throws HandleCallbackException { if (log.isTraceEnabled()) { log.trace("receiving message " + callback.getParameter() + " from the remoting layer"); } Message m = (Message)callback.getParameter(); try { boolean cancel = false; if (!i... | public void handleCallback(Callback callback) throws HandleCallbackException { if (log.isTraceEnabled()) { log.trace("receiving message " + callback.getParameter() + " from the remoting layer"); } Message m = (Message)callback.getParameter(); try { boolean cancel = false; if (!i... | 34,737 |
public void handleCallback(Callback callback) throws HandleCallbackException { if (log.isTraceEnabled()) { log.trace("receiving message " + callback.getParameter() + " from the remoting layer"); } Message m = (Message)callback.getParameter(); try { boolean cancel = false; if (!i... | public void handleCallback(Callback callback) throws HandleCallbackException { if (log.isTraceEnabled()) { log.trace("receiving message " + callback.getParameter() + " from the remoting layer"); } Message m = (Message)callback.getParameter(); try { boolean cancel = false; if (!i... | 34,738 |
public void handleCallback(Callback callback) throws HandleCallbackException { if (log.isTraceEnabled()) { log.trace("receiving message " + callback.getParameter() + " from the remoting layer"); } Message m = (Message)callback.getParameter(); try { boolean cancel = false; if (!i... | public void handleCallback(Callback callback) throws HandleCallbackException { if (log.isTraceEnabled()) { log.trace("receiving message " + callback.getParameter() + " from the remoting layer"); } Message m = (Message)callback.getParameter(); try { boolean cancel = false; if (!i... | 34,739 |
public void handleCallback(Callback callback) throws HandleCallbackException { if (log.isTraceEnabled()) { log.trace("receiving message " + callback.getParameter() + " from the remoting layer"); } Message m = (Message)callback.getParameter(); try { boolean cancel = false; if (!i... | public void handleCallback(Callback callback) throws HandleCallbackException { if (log.isTraceEnabled()) { log.trace("receiving message " + callback.getParameter() + " from the remoting layer"); } Message m = (Message)callback.getParameter(); try { boolean cancel = false; if (!i... | 34,740 |
public void postDeliver(Message m) throws JMSException { //If this is the callback-handler for a connection consumer we don't want //to acknowledge or add anything to the tx for this session if (!this.isConnectionConsumer) { sessionDelegate.postDeliver(m.getJMSMessageID(), receiverID); ... | protected void postDeliver(Message m) throws JMSException { //If this is the callback-handler for a connection consumer we don't want //to acknowledge or add anything to the tx for this session if (!this.isConnectionConsumer) { sessionDelegate.postDeliver(m.getJMSMessageID(), receiverID... | 34,741 |
public void preDeliver(Message m) throws JMSException { //If this is the callback-handler for a connection consumer we don't want //to acknowledge or add anything to the tx for this session if (!this.isConnectionConsumer) { sessionDelegate.preDeliver(m.getJMSMessageID(), receiverID); ... | protected void preDeliver(Message m) throws JMSException { //If this is the callback-handler for a connection consumer we don't want //to acknowledge or add anything to the tx for this session if (!this.isConnectionConsumer) { sessionDelegate.preDeliver(m.getJMSMessageID(), receiverID);... | 34,742 |
public Message receive(long timeout, JMSMethodInvocation jmsmi, Interceptor receiverInt) throws JMSException, InterruptedException { long startTimestamp = System.currentTimeMillis(); // make sure the current state allows receiving synchronized(this) { if (isClo... | public Message receive(long timeout, JMSMethodInvocation jmsmi, Interceptor receiverInt) throws JMSException, InterruptedException { long startTimestamp = System.currentTimeMillis(); // make sure the current state allows receiving synchronized(this) { if (isClo... | 34,743 |
public Message receive(long timeout, JMSMethodInvocation jmsmi, Interceptor receiverInt) throws JMSException, InterruptedException { long startTimestamp = System.currentTimeMillis(); // make sure the current state allows receiving synchronized(this) { if (isClo... | public Message receive(long timeout, JMSMethodInvocation jmsmi, Interceptor receiverInt) throws JMSException, InterruptedException { long startTimestamp = System.currentTimeMillis(); // make sure the current state allows receiving synchronized(this) { if (isClo... | 34,744 |
public Message receive(long timeout, JMSMethodInvocation jmsmi, Interceptor receiverInt) throws JMSException, InterruptedException { long startTimestamp = System.currentTimeMillis(); // make sure the current state allows receiving synchronized(this) { if (isClo... | public Message receive(long timeout, JMSMethodInvocation jmsmi, Interceptor receiverInt) throws JMSException, InterruptedException { long startTimestamp = System.currentTimeMillis(); // make sure the current state allows receiving synchronized(this) { if (isClo... | 34,745 |
public Message receive(long timeout, JMSMethodInvocation jmsmi, Interceptor receiverInt) throws JMSException, InterruptedException { long startTimestamp = System.currentTimeMillis(); // make sure the current state allows receiving synchronized(this) { if (isClo... | public Message receive(long timeout, JMSMethodInvocation jmsmi, Interceptor receiverInt) throws JMSException, InterruptedException { long startTimestamp = System.currentTimeMillis(); // make sure the current state allows receiving synchronized(this) { if (isClo... | 34,746 |
public Message receive(long timeout, JMSMethodInvocation jmsmi, Interceptor receiverInt) throws JMSException, InterruptedException { long startTimestamp = System.currentTimeMillis(); // make sure the current state allows receiving synchronized(this) { if (isClo... | public Message receive(long timeout, JMSMethodInvocation jmsmi, Interceptor receiverInt) throws JMSException, InterruptedException { long startTimestamp = System.currentTimeMillis(); // make sure the current state allows receiving synchronized(this) { if (isClo... | 34,747 |
public Message receive(long timeout, JMSMethodInvocation jmsmi, Interceptor receiverInt) throws JMSException, InterruptedException { long startTimestamp = System.currentTimeMillis(); // make sure the current state allows receiving synchronized(this) { if (isClo... | public Message receive(long timeout, JMSMethodInvocation jmsmi, Interceptor receiverInt) throws JMSException, InterruptedException { long startTimestamp = System.currentTimeMillis(); // make sure the current state allows receiving synchronized(this) { if (isClo... | 34,748 |
public Message receive(long timeout, JMSMethodInvocation jmsmi, Interceptor receiverInt) throws JMSException, InterruptedException { long startTimestamp = System.currentTimeMillis(); // make sure the current state allows receiving synchronized(this) { if (isClo... | public Message receive(long timeout, JMSMethodInvocation jmsmi, Interceptor receiverInt) throws JMSException, InterruptedException { long startTimestamp = System.currentTimeMillis(); // make sure the current state allows receiving synchronized(this) { if (isClo... | 34,749 |
public Message receive(long timeout, JMSMethodInvocation jmsmi, Interceptor receiverInt) throws JMSException, InterruptedException { long startTimestamp = System.currentTimeMillis(); // make sure the current state allows receiving synchronized(this) { if (isClo... | public Message receive(long timeout, JMSMethodInvocation jmsmi, Interceptor receiverInt) throws JMSException, InterruptedException { long startTimestamp = System.currentTimeMillis(); // make sure the current state allows receiving synchronized(this) { if (isClo... | 34,750 |
public Message receive(long timeout, JMSMethodInvocation jmsmi, Interceptor receiverInt) throws JMSException, InterruptedException { long startTimestamp = System.currentTimeMillis(); // make sure the current state allows receiving synchronized(this) { if (isClo... | public Message receive(long timeout, JMSMethodInvocation jmsmi, Interceptor receiverInt) throws JMSException, InterruptedException { long startTimestamp = System.currentTimeMillis(); // make sure the current state allows receiving synchronized(this) { if (isClo... | 34,751 |
public Message receive(long timeout, JMSMethodInvocation jmsmi, Interceptor receiverInt) throws JMSException, InterruptedException { long startTimestamp = System.currentTimeMillis(); // make sure the current state allows receiving synchronized(this) { if (isClo... | public Message receive(long timeout, JMSMethodInvocation jmsmi, Interceptor receiverInt) throws JMSException, InterruptedException { long startTimestamp = System.currentTimeMillis(); // make sure the current state allows receiving synchronized(this) { if (isClo... | 34,752 |
public Message receive(long timeout, JMSMethodInvocation jmsmi, Interceptor receiverInt) throws JMSException, InterruptedException { long startTimestamp = System.currentTimeMillis(); // make sure the current state allows receiving synchronized(this) { if (isClo... | public Message receive(long timeout, JMSMethodInvocation jmsmi, Interceptor receiverInt) throws JMSException, InterruptedException { long startTimestamp = System.currentTimeMillis(); // make sure the current state allows receiving synchronized(this) { if (isClo... | 34,753 |
public void run() { if (log.isTraceEnabled()) { log.trace("listener thread started"); } setListening(true); if (log.isTraceEnabled()) { log.trace("set listening to true"); } try { while(true) { if (log.isTraceEnabled()) { log.trace("... | public void run() { if (log.isTraceEnabled()) { log.trace("listener thread started"); } setListening(true); if (log.isTraceEnabled()) { log.trace("set listening to true"); } try { while(true) { if (log.isTraceEnabled()) { log.trace("... | 34,754 |
public void run() { if (log.isTraceEnabled()) { log.trace("listener thread started"); } setListening(true); if (log.isTraceEnabled()) { log.trace("set listening to true"); } try { while(true) { if (log.isTraceEnabled()) { log.trace("... | public void run() { if (log.isTraceEnabled()) { log.trace("listener thread started"); } setListening(true); if (log.isTraceEnabled()) { log.trace("set listening to true"); } try { while(true) { if (log.isTraceEnabled()) { log.trace("... | 34,755 |
public void run() { if (log.isTraceEnabled()) { log.trace("listener thread started"); } setListening(true); if (log.isTraceEnabled()) { log.trace("set listening to true"); } try { while(true) { if (log.isTraceEnabled()) { log.trace("... | public void run() { if (log.isTraceEnabled()) { log.trace("listener thread started"); } setListening(true); if (log.isTraceEnabled()) { log.trace("set listening to true"); } try { while(true) { if (log.isTraceEnabled()) { log.trace("... | 34,756 |
public void run() { if (log.isTraceEnabled()) { log.trace("listener thread started"); } setListening(true); if (log.isTraceEnabled()) { log.trace("set listening to true"); } try { while(true) { if (log.isTraceEnabled()) { log.trace("... | public void run() { if (log.isTraceEnabled()) { log.trace("listener thread started"); } setListening(true); if (log.isTraceEnabled()) { log.trace("set listening to true"); } try { while(true) { if (log.isTraceEnabled()) { log.trace("... | 34,757 |
public void run() { if (log.isTraceEnabled()) { log.trace("listener thread started"); } setListening(true); if (log.isTraceEnabled()) { log.trace("set listening to true"); } try { while(true) { if (log.isTraceEnabled()) { log.trace("... | public void run() { if (log.isTraceEnabled()) { log.trace("listener thread started"); } setListening(true); if (log.isTraceEnabled()) { log.trace("set listening to true"); } try { while(true) { if (log.isTraceEnabled()) { log.trace("... | 34,758 |
public void run() { if (log.isTraceEnabled()) { log.trace("listener thread started"); } setListening(true); if (log.isTraceEnabled()) { log.trace("set listening to true"); } try { while(true) { if (log.isTraceEnabled()) { log.trace("... | public void run() { if (log.isTraceEnabled()) { log.trace("listener thread started"); } setListening(true); if (log.isTraceEnabled()) { log.trace("set listening to true"); } try { while(true) { if (log.isTraceEnabled()) { log.trace("... | 34,759 |
public synchronized void setMessageListener(MessageListener listener, JMSMethodInvocation mi, Interceptor receiverInterceptor) throws JMSException { if (receiving) { throw new JBossJMSException("Another th... | public synchronized void setMessageListener(MessageListener listener, JMSMethodInvocation mi, Interceptor receiverInterceptor) throws JMSException { if (receiving) { throw new JBossJMSException("Another th... | 34,760 |
public synchronized void setMessageListener(MessageListener listener, JMSMethodInvocation mi, Interceptor receiverInterceptor) throws JMSException { if (receiving) { throw new JBossJMSException("Another th... | public synchronized void setMessageListener(MessageListener listener, JMSMethodInvocation mi, Interceptor receiverInterceptor) throws JMSException { if (receiving) { throw new JBossJMSException("Another th... | 34,761 |
public synchronized void setMessageListener(MessageListener listener, JMSMethodInvocation mi, Interceptor receiverInterceptor) throws JMSException { if (receiving) { throw new JBossJMSException("Another th... | public synchronized void setMessageListener(MessageListener listener, JMSMethodInvocation mi, Interceptor receiverInterceptor) throws JMSException { if (receiving) { throw new JBossJMSException("Another th... | 34,762 |
public synchronized void setMessageListener(MessageListener listener, JMSMethodInvocation mi, Interceptor receiverInterceptor) throws JMSException { if (receiving) { throw new JBossJMSException("Another th... | public synchronized void setMessageListener(MessageListener listener, JMSMethodInvocation mi, Interceptor receiverInterceptor) throws JMSException { if (receiving) { throw new JBossJMSException("Another th... | 34,763 |
private void stopServerDelivery() { try { if (log.isTraceEnabled()) { log.trace("stopping delivery on server"); } consumerDelegate.stopDelivering(); } catch (Exception e ) { //Might be closed - ignore String msg = "Stopping delivery on server did not succeed... | protected void stopServerDelivery() throws JMSException { try { if (log.isTraceEnabled()) { log.trace("stopping delivery on server"); } consumerDelegate.stopDelivering(); } catch (Exception e ) { //Might be closed - ignore String msg = "Stopping delivery on ... | 34,764 |
private void stopServerDelivery() { try { if (log.isTraceEnabled()) { log.trace("stopping delivery on server"); } consumerDelegate.stopDelivering(); } catch (Exception e ) { //Might be closed - ignore String msg = "Stopping delivery on server did not succeed... | private void stopServerDelivery() { try { if (log.isTraceEnabled()) { log.trace("stopping delivery on server"); } consumerDelegate.stopDelivering(); } catch (Exception e ) { //Might be closed - ignore String msg = "Stopping delivery on server did not succeed... | 34,765 |
public DeliveryRunnable(InvokerCallbackHandler callbackHandler, Message m) { super(m); this.callbackHandler = callbackHandler; } | public DeliveryRunnable(InvokerCallbackHandler callbackHandler, Message m) { super(m); this.callbackHandler = callbackHandler; } | 34,766 |
public DeliveryRunnable(InvokerCallbackHandler callbackHandler, Message m) { super(m); this.callbackHandler = callbackHandler; } | public DeliveryRunnable(InvokerCallbackHandler callbackHandler, Message m) { super(m); this.callbackHandler = callbackHandler; } | 34,767 |
public void run() { try { if (log.isTraceEnabled()) { log.trace("handing " + this.getCallbackObject() + " over to the remoting layer"); } callbackHandler.handleCallback(this); } catch(Throwable t) { log.warn("Failed to deliver the message to the client, perhaps the ... | public void run() { try { if (log.isTraceEnabled()) { log.trace("handing " + this.getCallbackObject() + " over to the remoting layer"); } callbackHandler.handleCallback(this); } catch(Throwable t) { log.warn("Failed to deliver the message to the client, perhaps the ... | 34,768 |
public String toString() { return null; // TODO } // toString() | public String toString() { return null; // TODO } // toString() | 34,769 |
public void test1() throws Throwable { Queue queue = new Queue(1, ms, pm, true, true, 100, 20, 10, new QueuedExecutor(), null); Message[] msgs = new Message[241]; MessageReference[] refs = new MessageReference[241]; //Send 99 for (int i = 0; i < 99;... | public void test1() throws Throwable { Queue queue = new Queue(1, ms, pm, true, true, 100, 20, 10, new QueuedExecutor()); Message[] msgs = new Message[241]; MessageReference[] refs = new MessageReference[241]; //Send 99 for (int i = 0; i < 99; i++) ... | 34,770 |
protected LayoutContext newLayoutContext(PageInfo pageInfo, Graphics2D g) { XRLog.layout(Level.FINEST, "new context begin"); getSharedContext().setCanvas(this); Rectangle extents; if (pageInfo != null) { extents = new Rectangle(0, 0, (int) pageInfo.getConten... | protected LayoutContext newLayoutContext(PageInfo pageInfo, Graphics2D g) { XRLog.layout(Level.FINEST, "new context begin"); getSharedContext().setCanvas(this); Rectangle extents; if (pageInfo != null) { extents = new Rectangle(0, 0, (int) pageInfo.getConten... | 34,771 |
protected RenderingContext newRenderingContext(PageInfo pageInfo, Graphics2D g) { XRLog.layout(Level.FINEST, "new context begin"); getSharedContext().setCanvas(this); Rectangle extents; if (pageInfo != null) { extents = new Rectangle(0, 0, (int) pageInfo.get... | protected RenderingContext newRenderingContext(PageInfo pageInfo, Graphics2D g) { XRLog.layout(Level.FINEST, "new context begin"); getSharedContext().setCanvas(this); Rectangle extents; if (pageInfo != null) { extents = new Rectangle(0, 0, (int) pageInfo.get... | 34,772 |
public static void layoutContent(Context c, Box box, List contentList) { //Here we should always be inside something that corresponds to a block-level element //for formatting purposes Rectangle bounds = new Rectangle(); bounds.width = c.getExtents().width; validateBounds(bounds);... | public static void layoutContent(Context c, Box box, List contentList) { //Here we should always be inside something that corresponds to a block-level element //for formatting purposes Rectangle bounds = new Rectangle(); bounds.width = c.getExtents().width; validateBounds(bounds);... | 34,773 |
public static void layoutContent(Context c, Box box, List contentList) { //Here we should always be inside something that corresponds to a block-level element //for formatting purposes Rectangle bounds = new Rectangle(); bounds.width = c.getExtents().width; validateBounds(bounds);... | public static void layoutContent(Context c, Box box, List contentList) { //Here we should always be inside something that corresponds to a block-level element //for formatting purposes Rectangle bounds = new Rectangle(); bounds.width = c.getExtents().width; validateBounds(bounds);... | 34,774 |
public void shrinkExtents(Box block) { extents_stack.push(getExtents()); Border border = block.border; Border padding = block.padding; Border margin = block.margin; Rectangle rect = new Rectangle(0, 0, getExtents().width - (margin.left + border.left + padding.left) ... | public void shrinkExtents(Box block) { extents_stack.push(getExtents()); Border border = block.border; Border padding = block.padding; Border margin = block.margin; Rectangle rect = new Rectangle(0, 0, getExtents().width - (margin.left + border.left + padding.left) ... | 34,776 |
public void validate() throws InvalidWorkflowDescriptorException { ValidationHelper.validate(preFunctions); ValidationHelper.validate(postFunctions); ValidationHelper.validate(validators); //if it's not a split or a join or a finish, then we require a next step if ((split == 0) &&... | public void validate() throws InvalidWorkflowDescriptorException { ValidationHelper.validate(preFunctions); ValidationHelper.validate(postFunctions); ValidationHelper.validate(validators); //if it's not a split or a join or a finish, then we require a next step if ((split == 0) &&... | 34,777 |
public static Color getBackgroundColor(Context c, Box box) { if (LayoutUtil.isBlockOrInlineElementBox(c, box)) { if (box.background_color == null) { CalculatedStyle style = box.getContent().getStyle(); if (style.isIdentifier(CSSName.BACKGROUND_COLOR)) { ... | public static Color getBackgroundColor(Context c, Box box) { if (LayoutUtil.isBlockOrInlineElementBox(c, box)) { if (box.background_color == null) { CalculatedStyle style = box.getContent().getStyle(); if (style.isIdentifier(CSSName.BACKGROUND_COLOR)) { ... | 34,778 |
public static Color getBackgroundColor(Context c, Box box) { if (LayoutUtil.isBlockOrInlineElementBox(c, box)) { if (box.background_color == null) { CalculatedStyle style = box.getContent().getStyle(); if (style.isIdentifier(CSSName.BACKGROUND_COLOR)) { ... | public static Color getBackgroundColor(Context c, Box box) { if (LayoutUtil.isBlockOrInlineElementBox(c, box)) { if (box.background_color == null) { CalculatedStyle style = box.getContent().getStyle(); if (style.isIdentifier(CSSName.BACKGROUND_COLOR)) { ... | 34,779 |
public static Border getMargin(Context c, Box box) { if (LayoutUtil.isBlockOrInlineElementBox(c, box)) { if (box.margin == null) { box.margin = box.getContent().getStyle().getMarginWidth(); } } return box.margin; } | public static Border getMargin(Context c, Box box) { if (LayoutUtil.isBlockOrInlineElementBox(c, box)) { if (box.margin == null) { box.margin = box.getContent().getStyle().getMarginWidth(); } } return box.margin; } | 34,780 |
public static Border getPadding(Context c, Box box) { if (LayoutUtil.isBlockOrInlineElementBox(c, box)) { if (box.padding == null) { box.padding = box.getContent().getStyle().getPaddingWidth(); } } return box.padding; } | public static Border getPadding(Context c, Box box) { if (LayoutUtil.isBlockOrInlineElementBox(c, box)) { if (box.padding == null) { box.padding = box.getContent().getStyle().getPaddingWidth(); } } return box.padding; } | 34,781 |
public void restyle(Context ctx, Box box) { box.color = ctx.css.getStyle(box.getRealElement()).getColor(); box.setBorderColor(ctx.css.getStyle(box.getRealElement()).getBorderColor()); box.border_style = ctx.css.getStyle(box.getRealElement()).getStringProperty("border-top-style"); box.bac... | public void restyle(Context ctx, Box box) { box.color = ctx.css.getStyle(box.getRealElement()).getColor(); box.border_color = ctx.css.getStyle(box.getRealElement()).getBorderColor(); box.border_style = ctx.css.getStyle(box.getRealElement()).getStringProperty("border-top-style"); box.back... | 34,782 |
public static CellBox layoutCell(Context c, CellBox block, Content content, boolean fixed, TableBox table, int col) { //OK, first set up the current style. All depends on this... CascadedStyle pushed = content.getStyle(); if (pushed != null) { c.pushStyle(pushed); } if ... | public static CellBox layoutCell(Context c, CellBox block, Content content, boolean fixed, TableBox table, int col) { //OK, first set up the current style. All depends on this... CascadedStyle pushed = content.getStyle(); if (pushed != null) { c.pushStyle(pushed); } if ... | 34,784 |
public static void pr( Object object ) { init(); util.print( object ); } | public static void pr( Object object ) { init(); StringWriter sw = new StringWriter(); PrintWriter pw = new PrintWriter( sw ); utilAsString.setPrintWriter( pw ); utilAsString.print( object ); pw.flush(); XRLog.general( sw.getBuffer().toString() ); } | 34,786 |
public void testAutoAcknowledge() throws Exception { Connection conn = cf.createConnection(); Session producerSess = conn.createSession(false, Session.AUTO_ACKNOWLEDGE); MessageProducer producer = producerSess.createProducer(queue); Session consumerSess = conn.createSession(false, Session.AUTO_ACKNOWLEDGE); Mes... | public void testAutoAcknowledge() throws Exception { Connection conn = cf.createConnection(); Session producerSess = conn.createSession(false, Session.AUTO_ACKNOWLEDGE); MessageProducer producer = producerSess.createProducer(queue); Session consumerSess = conn.createSession(false, Session.AUTO_ACKNOWLEDGE); Mes... | 34,788 |
public void testAutoAcknowledge() throws Exception { Connection conn = cf.createConnection(); Session producerSess = conn.createSession(false, Session.AUTO_ACKNOWLEDGE); MessageProducer producer = producerSess.createProducer(queue); Session consumerSess = conn.createSession(false, Session.AUTO_ACKNOWLEDGE); Mes... | public void testAutoAcknowledge() throws Exception { Connection conn = cf.createConnection(); Session producerSess = conn.createSession(false, Session.AUTO_ACKNOWLEDGE); MessageProducer producer = producerSess.createProducer(queue); Session consumerSess = conn.createSession(false, Session.AUTO_ACKNOWLEDGE); Mes... | 34,789 |
public void testBulkClientAcknowledge() throws Exception { Connection conn = cf.createConnection(); Session producerSess = conn.createSession(false, Session.CLIENT_ACKNOWLEDGE); MessageProducer producer = producerSess.createProducer(queue); Session consumerSess = conn.createSession(false, Session.CLIENT_ACKNOWLE... | public void testBulkClientAcknowledge() throws Exception { Connection conn = cf.createConnection(); Session producerSess = conn.createSession(false, Session.CLIENT_ACKNOWLEDGE); MessageProducer producer = producerSess.createProducer(queue); Session consumerSess = conn.createSession(false, Session.CLIENT_ACKNOWLE... | 34,790 |
public void testBulkClientAcknowledge() throws Exception { Connection conn = cf.createConnection(); Session producerSess = conn.createSession(false, Session.CLIENT_ACKNOWLEDGE); MessageProducer producer = producerSess.createProducer(queue); Session consumerSess = conn.createSession(false, Session.CLIENT_ACKNOWLE... | public void testBulkClientAcknowledge() throws Exception { Connection conn = cf.createConnection(); Session producerSess = conn.createSession(false, Session.CLIENT_ACKNOWLEDGE); MessageProducer producer = producerSess.createProducer(queue); Session consumerSess = conn.createSession(false, Session.CLIENT_ACKNOWLE... | 34,791 |
public void testClientAcknowledgeNoAcknowlegment() throws Exception { Connection conn = cf.createConnection(); Session producerSess = conn.createSession(false, Session.CLIENT_ACKNOWLEDGE); MessageProducer producer = producerSess.createProducer(queue); Session consumerSess = conn.createSession(false, Session.CLIE... | public void testClientAcknowledgeNoAcknowlegment() throws Exception { Connection conn = cf.createConnection(); Session producerSess = conn.createSession(false, Session.CLIENT_ACKNOWLEDGE); MessageProducer producer = producerSess.createProducer(queue); Session consumerSess = conn.createSession(false, Session.CLIE... | 34,792 |
public void testClientAcknowledgeNoAcknowlegment() throws Exception { Connection conn = cf.createConnection(); Session producerSess = conn.createSession(false, Session.CLIENT_ACKNOWLEDGE); MessageProducer producer = producerSess.createProducer(queue); Session consumerSess = conn.createSession(false, Session.CLIE... | public void testClientAcknowledgeNoAcknowlegment() throws Exception { Connection conn = cf.createConnection(); Session producerSess = conn.createSession(false, Session.CLIENT_ACKNOWLEDGE); MessageProducer producer = producerSess.createProducer(queue); Session consumerSess = conn.createSession(false, Session.CLIE... | 34,793 |
public void testIndividualClientAcknowledge() throws Exception { Connection conn = cf.createConnection(); Session producerSess = conn.createSession(false, Session.CLIENT_ACKNOWLEDGE); MessageProducer producer = producerSess.createProducer(queue); Session consumerSess = conn.createSession(false, Sessio... | public void testIndividualClientAcknowledge() throws Exception { Connection conn = cf.createConnection(); Session producerSess = conn.createSession(false, Session.CLIENT_ACKNOWLEDGE); MessageProducer producer = producerSess.createProducer(queue); Session consumerSess = conn.createSession(false, Sessio... | 34,794 |
public void testIndividualClientAcknowledge() throws Exception { Connection conn = cf.createConnection(); Session producerSess = conn.createSession(false, Session.CLIENT_ACKNOWLEDGE); MessageProducer producer = producerSess.createProducer(queue); Session consumerSess = conn.createSession(false, Sessio... | public void testIndividualClientAcknowledge() throws Exception { Connection conn = cf.createConnection(); Session producerSess = conn.createSession(false, Session.CLIENT_ACKNOWLEDGE); MessageProducer producer = producerSess.createProducer(queue); Session consumerSess = conn.createSession(false, Sessio... | 34,795 |
public void testIndividualClientAcknowledge() throws Exception { Connection conn = cf.createConnection(); Session producerSess = conn.createSession(false, Session.CLIENT_ACKNOWLEDGE); MessageProducer producer = producerSess.createProducer(queue); Session consumerSess = conn.createSession(false, Sessio... | public void testIndividualClientAcknowledge() throws Exception { Connection conn = cf.createConnection(); Session producerSess = conn.createSession(false, Session.CLIENT_ACKNOWLEDGE); MessageProducer producer = producerSess.createProducer(queue); Session consumerSess = conn.createSession(false, Sessio... | 34,796 |
public void testLazyAcknowledge() throws Exception { Connection conn = cf.createConnection(); Session producerSess = conn.createSession(false, Session.DUPS_OK_ACKNOWLEDGE); MessageProducer producer = producerSess.createProducer(queue); Session consumerSess = conn.createSession(false, Session.DUPS_OK_ACKNOWLEDGE)... | public void testLazyAcknowledge() throws Exception { Connection conn = cf.createConnection(); Session producerSess = conn.createSession(false, Session.DUPS_OK_ACKNOWLEDGE); MessageProducer producer = producerSess.createProducer(queue); Session consumerSess = conn.createSession(false, Session.DUPS_OK_ACKNOWLEDGE)... | 34,797 |
public void testLazyAcknowledge() throws Exception { Connection conn = cf.createConnection(); Session producerSess = conn.createSession(false, Session.DUPS_OK_ACKNOWLEDGE); MessageProducer producer = producerSess.createProducer(queue); Session consumerSess = conn.createSession(false, Session.DUPS_OK_ACKNOWLEDGE)... | public void testLazyAcknowledge() throws Exception { Connection conn = cf.createConnection(); Session producerSess = conn.createSession(false, Session.DUPS_OK_ACKNOWLEDGE); MessageProducer producer = producerSess.createProducer(queue); Session consumerSess = conn.createSession(false, Session.DUPS_OK_ACKNOWLEDGE)... | 34,798 |
public void testPartialClientAcknowledge() throws Exception { Connection conn = cf.createConnection(); Session producerSess = conn.createSession(false, Session.CLIENT_ACKNOWLEDGE); MessageProducer producer = producerSess.createProducer(queue); Session consumerSess = conn.createSession(false, Session.CLIENT_ACKNO... | public void testPartialClientAcknowledge() throws Exception { Connection conn = cf.createConnection(); Session producerSess = conn.createSession(false, Session.CLIENT_ACKNOWLEDGE); MessageProducer producer = producerSess.createProducer(queue); Session consumerSess = conn.createSession(false, Session.CLIENT_ACKNO... | 34,799 |
public void testPersistentMessagesForTopicDropped() throws Exception { TopicConnection conn = null; try { conn = cf.createTopicConnection(); TopicSession sess = conn.createTopicSession(true, 0); TopicPublisher pub = sess.createPublisher(topic); pub.setDeliveryMo... | public void testPersistentMessagesForTopicDropped() throws Exception { TopicConnection conn = null; try { conn = cf.createTopicConnection(); TopicSession sess = conn.createTopicSession(true, 0); TopicPublisher pub = sess.createPublisher(topic); pub.setDeliveryMo... | 34,800 |
public void testPersistentMessagesForTopicDropped2() throws Exception { TopicConnection conn = null; try { conn = cf.createTopicConnection(); conn.start(); TopicSession sess = conn.createTopicSession(true, 0); TopicPublisher pub = sess.createPublisher(topic); ... | public void testPersistentMessagesForTopicDropped2() throws Exception { TopicConnection conn = null; try { conn = cf.createTopicConnection(); conn.start(); TopicSession sess = conn.createTopicSession(true, 0); TopicPublisher pub = sess.createPublisher(topic); ... | 34,801 |
public void testPersistentMessagesForTopicDropped2() throws Exception { TopicConnection conn = null; try { conn = cf.createTopicConnection(); conn.start(); TopicSession sess = conn.createTopicSession(true, 0); TopicPublisher pub = sess.createPublisher(topic); ... | public void testPersistentMessagesForTopicDropped2() throws Exception { TopicConnection conn = null; try { conn = cf.createTopicConnection(); conn.start(); TopicSession sess = conn.createTopicSession(true, 0); TopicPublisher pub = sess.createPublisher(topic); ... | 34,802 |
public void testRollbackRecover() throws Exception { TopicConnection conn = null; try { conn = cf.createTopicConnection(); TopicSession sess = conn.createTopicSession(true, 0); TopicPublisher pub = sess.createPublisher(topic); TopicSubscriber cons = sess.createS... | public void testRollbackRecover() throws Exception { TopicConnection conn = null; try { conn = cf.createTopicConnection(); TopicSession sess = conn.createTopicSession(true, 0); TopicPublisher pub = sess.createPublisher(topic); TopicSubscriber cons = sess.createS... | 34,803 |
public void testRollbackRecover() throws Exception { TopicConnection conn = null; try { conn = cf.createTopicConnection(); TopicSession sess = conn.createTopicSession(true, 0); TopicPublisher pub = sess.createPublisher(topic); TopicSubscriber cons = sess.createS... | public void testRollbackRecover() throws Exception { TopicConnection conn = null; try { conn = cf.createTopicConnection(); TopicSession sess = conn.createTopicSession(true, 0); TopicPublisher pub = sess.createPublisher(topic); TopicSubscriber cons = sess.createS... | 34,804 |
public void testRollbackRecover() throws Exception { TopicConnection conn = null; try { conn = cf.createTopicConnection(); TopicSession sess = conn.createTopicSession(true, 0); TopicPublisher pub = sess.createPublisher(topic); TopicSubscriber cons = sess.createS... | public void testRollbackRecover() throws Exception { TopicConnection conn = null; try { conn = cf.createTopicConnection(); TopicSession sess = conn.createTopicSession(true, 0); TopicPublisher pub = sess.createPublisher(topic); TopicSubscriber cons = sess.createS... | 34,805 |
public void testRollbackRecover() throws Exception { TopicConnection conn = null; try { conn = cf.createTopicConnection(); TopicSession sess = conn.createTopicSession(true, 0); TopicPublisher pub = sess.createPublisher(topic); TopicSubscriber cons = sess.createS... | public void testRollbackRecover() throws Exception { TopicConnection conn = null; try { conn = cf.createTopicConnection(); TopicSession sess = conn.createTopicSession(true, 0); TopicPublisher pub = sess.createPublisher(topic); TopicSubscriber cons = sess.createS... | 34,806 |
public void testRollbackRecover() throws Exception { TopicConnection conn = null; try { conn = cf.createTopicConnection(); TopicSession sess = conn.createTopicSession(true, 0); TopicPublisher pub = sess.createPublisher(topic); TopicSubscriber cons = sess.createS... | public void testRollbackRecover() throws Exception { TopicConnection conn = null; try { conn = cf.createTopicConnection(); TopicSession sess = conn.createTopicSession(true, 0); TopicPublisher pub = sess.createPublisher(topic); TopicSubscriber cons = sess.createS... | 34,807 |
public static Box layout(LayoutContext c, Box block, Content content) { // copy the extents Rectangle oe = c.getExtents(); c.setExtents(new Rectangle(oe)); //block.x = c.getExtents().x; //block.y = c.getExtents().y; // save height incase fixed height int original_hei... | public static Box layout(LayoutContext c, Box block, Content content) { // copy the extents Rectangle oe = c.getExtents(); //block.x = c.getExtents().x; //block.y = c.getExtents().y; // save height incase fixed height int original_height = block.height; // do... | 34,808 |
public static int fontXHeightForElement(Context context, Element elem) { return lineHeight(context, elem); } | public static int fontXHeightForElement(Context context, Element elem) { return lineHeight(context, elem); } | 34,810 |
public static Font getFont(Context c, InlineBox box) { if (box.getFont() != null) { return box.getFont(); } CalculatedStyle style = c.css.getStyle(LineBreaker.getElement(box.getNode())); return getFont(c, style, box.getNode()); } | public static Font getFont(Context c, InlineBox box) { if (box.getFont() != null) { return box.getFont(); } CalculatedStyle style = c.css.getStyle(LineBreaker.getElement(box.getNode())); return getFont(c, style, box.getNode()); } | 34,811 |
public static Rectangle2D getTextBounds(Context c, InlineBox box) { CalculatedStyle style = c.css.getStyle(LineBreaker.getElement(box.getNode())); return c.getTextRenderer().getLogicalBounds(c.getGraphics(), getFont(c, style, box.getNode()), box.getSubstring()); } | public static Rectangle2D getTextBounds(Context c, InlineBox box) { CalculatedStyle style = c.css.getStyle(box.getRealElement()); return c.getTextRenderer().getLogicalBounds(c.getGraphics(), getFont(c, style, box.getNode()), box.getSubstring()); } | 34,812 |
public static Rectangle2D getTextBounds(Context c, InlineBox box) { CalculatedStyle style = c.css.getStyle(LineBreaker.getElement(box.getNode())); return c.getTextRenderer().getLogicalBounds(c.getGraphics(), getFont(c, style, box.getNode()), box.getSubstring()); } | public static Rectangle2D getTextBounds(Context c, InlineBox box) { CalculatedStyle style = c.css.getStyle(LineBreaker.getElement(box.getNode())); return c.getTextRenderer().getLogicalBounds(c.getGraphics(), getFont(c, style), box.getSubstring()); } | 34,813 |
public static int len(Context c, Node node, String str, Font font) { //return c.getGraphics().getFontMetrics( font ).stringWidth( str ); return (int) Math.ceil(c.getTextRenderer().getLogicalBounds(c.getGraphics(), font, str).getWidth()); } | public static int len(Context c, String str, Font font) { //return c.getGraphics().getFontMetrics( font ).stringWidth( str ); return (int) Math.ceil(c.getTextRenderer().getLogicalBounds(c.getGraphics(), font, str).getWidth()); } | 34,814 |
public static int lineHeight(Context c, Node node) { //int val = c.getGraphics().getFontMetrics( getFont( c, node ) ).getHeight(); CalculatedStyle style = c.css.getStyle(LineBreaker.getElement(node)); int val = (int) Math.ceil(c.getTextRenderer().getLogicalBounds(c.getGraphics(), getFont(c, sty... | public static int lineHeight(Context c, Node node) { //int val = c.getGraphics().getFontMetrics( getFont( c, node ) ).getHeight(); CalculatedStyle style = c.css.getStyle(LineBreaker.getElement(node)); int val = (int) Math.ceil(c.getTextRenderer().getLogicalBounds(c.getGraphics(), getFont(c, sty... | 34,815 |
public XMLResource getXMLResource(String uri) { uri = resolveURI(uri); if (uri != null && uri.startsWith("file:")) { File file = null; try { file = new File(new URI(uri)); } catch (URISyntaxException e) { e.printStackTrace(); //To change ... | public XMLResource getXMLResource(String uri) { uri = resolveURI(uri); if (uri != null && uri.startsWith("file:")) { File file = null; try { file = new File(new URI(uri)); } catch (URISyntaxException e) { e.printStackTrace(); //To change ... | 34,816 |
public XMLResource getXMLResource(String uri) { uri = resolveURI(uri); if (uri != null && uri.startsWith("file:")) { File file = null; try { file = new File(new URI(uri)); } catch (URISyntaxException e) { e.printStackTrace(); //To change ... | public XMLResource getXMLResource(String uri) { uri = resolveURI(uri); if (uri != null && uri.startsWith("file:")) { File file = null; try { file = new File(new URI(uri)); } catch (URISyntaxException e) { e.printStackTrace(); //To change ... | 34,817 |
public void setBaseURL(String url) { baseUrl = resolveURI(url); if (baseUrl == null) baseUrl = "error:FileNotFound"; //setBaseURL is called by view when document is loaded if (index >= 0) { String historic = (String) history.get(index); if (historic.equals(baseUrl))... | public void setBaseURL (String url) { if(baseUrl !=null && baseUrl.startsWith("error:")) baseUrl = null; baseUrl = resolveURI(url); if (baseUrl == null) baseUrl = "error:FileNotFound"; //setBaseURL is called by view when document is loaded if (index >= 0) { String historic = ... | 34,819 |
public void run() { // Run commands from the JNode commandline first final String cmdLine = System.getProperty("jnode.cmdline", ""); final StringTokenizer tok = new StringTokenizer(cmdLine); while (tok.hasMoreTokens()) { final String e = tok.nextToken(); try { if (e.startsWith("cmd=")) { final String cm... | public void run() { // Run commands from the JNode commandline first final String cmdLine = (String)AccessController.doPrivileged(new GetPropertyAction("jnode.cmdline", "")); final StringTokenizer tok = new StringTokenizer(cmdLine); while (tok.hasMoreTokens()) { final String e = tok.nextToken(); try { if (e... | 34,820 |
public void createLayout() { GridBagLayout gbl = new GridBagLayout(); GridBagConstraints c = new GridBagConstraints(); setLayout(gbl); c.gridx = 0; c.gridy = 0; c.weightx = c.weighty = 0.0; gbl.setConstraints(backward, c); add(backward); c.gridx++; ... | public void createLayout() { GridBagLayout gbl = new GridBagLayout(); GridBagConstraints c = new GridBagConstraints(); setLayout(gbl); c.gridx = 0; c.gridy = 0; c.weightx = c.weighty = 0.0; gbl.setConstraints(backward, c); add(backward); c.gridx++; ... | 34,821 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.