bugged
stringlengths
6
599k
fixed
stringlengths
6
40.8M
__index_level_0__
int64
0
3.24M
public Dimension getPreferredSize(JComponent c) { JList l = (JList) c; System.out.println("XXXXXXXXXXXXXXXxx getPreferredSize------------> " + l); int rows = l.getVisibleRowCount(); ListCellRenderer render = l.getCellRenderer(); int width = 200; int height = rows * 16; if (l.getModel().getSize() == 0) ...
public Dimension getPreferredSize(JComponent c) { JList l = (JList) c; System.out.println("XXXXXXXXXXXXXXXxx getPreferredSize------------> " + l); int rows = l.getVisibleRowCount(); ListCellRenderer render = l.getCellRenderer(); int width = 200; int height = rows * 16; if (l.getModel().getSize() == 0) ...
47,247
public void installUI(final JComponent c) { super.installUI(c); textColor = new Color(0,0,0); disabledTextColor = new Color(130, 130, 130); pressedBackgroundColor = new Color(150,150,150); normalBackgroundColor = new Color(192,192,192); }
public void installUI(final JComponent c) { super.installUI(c); textColor = new Color(0,0,0); disabledTextColor = new Color(130, 130, 130); pressedBackgroundColor = new Color(150,150,150); normalBackgroundColor = new Color(192,192,192); }
47,248
public void paint(Graphics g, JComponent c) { JList l = (JList) c; int rows = l.getVisibleRowCount(); ListCellRenderer render = l.getCellRenderer(); System.out.println("RENDER-JLIST: " + rows + ", " + l.getModel().getSize()); paintBackground(g, c); if (l.getModel().getSize() == 0) return; // us...
public void paint(Graphics g, JComponent c) { JList l = (JList) c; int rows = l.getVisibleRowCount(); ListCellRenderer render = l.getCellRenderer(); System.out.println("RENDER-JLIST: " + rows + ", " + l.getModel().getSize()); paintBackground(g, c); if (l.getModel().getSize() == 0) return; // us...
47,249
public void paint(Graphics g, JComponent c) { JList l = (JList) c; int rows = l.getVisibleRowCount(); ListCellRenderer render = l.getCellRenderer(); System.out.println("RENDER-JLIST: " + rows + ", " + l.getModel().getSize()); paintBackground(g, c); if (l.getModel().getSize() == 0) return; // us...
public void paint(Graphics g, JComponent c) { JList l = (JList) c; int rows = l.getVisibleRowCount(); ListCellRenderer render = l.getCellRenderer(); System.out.println("RENDER-JLIST: " + rows + ", " + l.getModel().getSize()); paintBackground(g, c); if (l.getModel().getSize() == 0) return; // us...
47,250
public void paint(Graphics g, JComponent c) { JList l = (JList) c; int rows = l.getVisibleRowCount(); ListCellRenderer render = l.getCellRenderer(); System.out.println("RENDER-JLIST: " + rows + ", " + l.getModel().getSize()); paintBackground(g, c); if (l.getModel().getSize() == 0) return; // us...
public void paint(Graphics g, JComponent c) { JList l = (JList) c; int rows = l.getVisibleRowCount(); ListCellRenderer render = l.getCellRenderer(); System.out.println("RENDER-JLIST: " + rows + ", " + l.getModel().getSize()); paintBackground(g, c); if (l.getModel().getSize() == 0) return; // us...
47,251
public void paintBackground(Graphics g, JComponent c) { Dimension size = getPreferredSize(c); g.setColor(normalBackgroundColor); g.fillRect(0,0,size.width, size.height); }
public void paintBackground(Graphics g, JComponent c) { Dimension size = getPreferredSize(c); g.setColor(normalBackgroundColor); g.fillRect(0,0,size.width, size.height); }
47,252
public void run() { try { //log.info("in run(), numr=" + numRecoveries + " numMesages:" +numMessages); for (int j = 0; j < numRecoveries; j++) { for (int i = 0; i < numMessages; i++) { TextMessage tm ...
public void run() { try { //log.info("in run(), numr=" + numRecoveries + " numMesages:" +numMessages); for (int j = 0; j < numRecoveries; j++) { for (int i = 0; i < numMessages; i++) { TextMessage tm ...
47,253
public void run() { try { //log.info("in run(), numr=" + numRecoveries + " numMesages:" +numMessages); for (int j = 0; j < numRecoveries; j++) { for (int i = 0; i < numMessages; i++) { TextMessage tm ...
public void run() { try { //log.info("in run(), numr=" + numRecoveries + " numMesages:" +numMessages); for (int j = 0; j < numRecoveries; j++) { for (int i = 0; i < numMessages; i++) { TextMessage tm ...
47,254
public void run() { try { //log.info("in run(), numr=" + numRecoveries + " numMesages:" +numMessages); for (int j = 0; j < numRecoveries; j++) { for (int i = 0; i < numMessages; i++) { TextMessage tm ...
public void run() { try { //log.info("in run(), numr=" + numRecoveries + " numMesages:" +numMessages); for (int j = 0; j < numRecoveries; j++) { for (int i = 0; i < numMessages; i++) { TextMessage tm ...
47,255
public void testRedeliveryOnTopic() throws Exception { Connection conn = cf.createConnection(); conn.setClientID("myclientid"); Session sess1 = conn.createSession(false, Session.CLIENT_ACKNOWLEDGE); MessageConsumer cons1 = sess1.createConsumer(topic); Session sess2 = conn...
public void testRedeliveryOnTopic() throws Exception { Connection conn = cf.createConnection(); conn.setClientID("myclientid"); Session sess1 = conn.createSession(false, Session.CLIENT_ACKNOWLEDGE); MessageConsumer cons1 = sess1.createConsumer(topic); Session sess2 = conn...
47,257
public void testRedeliveryOnTopic() throws Exception { Connection conn = cf.createConnection(); conn.setClientID("myclientid"); Session sess1 = conn.createSession(false, Session.CLIENT_ACKNOWLEDGE); MessageConsumer cons1 = sess1.createConsumer(topic); Session sess2 = conn...
public void testRedeliveryOnTopic() throws Exception { Connection conn = cf.createConnection(); conn.setClientID("myclientid"); Session sess1 = conn.createSession(false, Session.CLIENT_ACKNOWLEDGE); MessageConsumer cons1 = sess1.createConsumer(topic); Session sess2 = conn...
47,258
public void testRedeliveryOnTopic() throws Exception { Connection conn = cf.createConnection(); conn.setClientID("myclientid"); Session sess1 = conn.createSession(false, Session.CLIENT_ACKNOWLEDGE); MessageConsumer cons1 = sess1.createConsumer(topic); Session sess2 = conn...
public void testRedeliveryOnTopic() throws Exception { Connection conn = cf.createConnection(); conn.setClientID("myclientid"); Session sess1 = conn.createSession(false, Session.CLIENT_ACKNOWLEDGE); MessageConsumer cons1 = sess1.createConsumer(topic); Session sess2 = conn...
47,259
public void testRedeliveryOnTopic() throws Exception { Connection conn = cf.createConnection(); conn.setClientID("myclientid"); Session sess1 = conn.createSession(false, Session.CLIENT_ACKNOWLEDGE); MessageConsumer cons1 = sess1.createConsumer(topic); Session sess2 = conn...
public void testRedeliveryOnTopic() throws Exception { Connection conn = cf.createConnection(); conn.setClientID("myclientid"); Session sess1 = conn.createSession(false, Session.CLIENT_ACKNOWLEDGE); MessageConsumer cons1 = sess1.createConsumer(topic); Session sess2 = conn...
47,260
public void testRedeliveryOnTopic() throws Exception { Connection conn = cf.createConnection(); conn.setClientID("myclientid"); Session sess1 = conn.createSession(false, Session.CLIENT_ACKNOWLEDGE); MessageConsumer cons1 = sess1.createConsumer(topic); Session sess2 = conn...
public void testRedeliveryOnTopic() throws Exception { Connection conn = cf.createConnection(); conn.setClientID("myclientid"); Session sess1 = conn.createSession(false, Session.CLIENT_ACKNOWLEDGE); MessageConsumer cons1 = sess1.createConsumer(topic); Session sess2 = conn...
47,261
public void testRedeliveryOnTopic() throws Exception { Connection conn = cf.createConnection(); conn.setClientID("myclientid"); Session sess1 = conn.createSession(false, Session.CLIENT_ACKNOWLEDGE); MessageConsumer cons1 = sess1.createConsumer(topic); Session sess2 = conn...
public void testRedeliveryOnTopic() throws Exception { Connection conn = cf.createConnection(); conn.setClientID("myclientid"); Session sess1 = conn.createSession(false, Session.CLIENT_ACKNOWLEDGE); MessageConsumer cons1 = sess1.createConsumer(topic); Session sess2 = conn...
47,262
public void testRedeliveryOnTopic() throws Exception { Connection conn = cf.createConnection(); conn.setClientID("myclientid"); Session sess1 = conn.createSession(false, Session.CLIENT_ACKNOWLEDGE); MessageConsumer cons1 = sess1.createConsumer(topic); Session sess2 = conn...
public void testRedeliveryOnTopic() throws Exception { Connection conn = cf.createConnection(); conn.setClientID("myclientid"); Session sess1 = conn.createSession(false, Session.CLIENT_ACKNOWLEDGE); MessageConsumer cons1 = sess1.createConsumer(topic); Session sess2 = conn...
47,263
public static String getTextContent(Node n) throws XMLException { if (n.hasChildNodes()) { StringBuffer sb = new StringBuffer(); NodeList nl = n.getChildNodes(); for(int i = 0; i < nl.getLength(); i++) { sb.append(XMLUtil.elementToString(nl.item(i))); ...
public static String getTextContent(Node n) throws XMLException { if (n.hasChildNodes()) { StringBuffer sb = new StringBuffer(); NodeList nl = n.getChildNodes(); for(int i = 0; i < nl.getLength(); i++) { sb.append(XMLUtil.elementToString(nl.item(i))); ...
47,264
public static synchronized Locale[] getAvailableLocales() { if (availableLocales == null) { int len = LocaleHelper.getLocaleCount(); availableLocales = new Locale[len]; for (int i = 0; i < len; i++) { String language; String region = ""; String var...
public static synchronized Locale[] getAvailableLocales() { if (availableLocales == null) { int len = LocaleHelper.getLocaleCount(); availableLocales = new Locale[len]; for (int i = 0; i < len; i++) { String language; String country = ""; String va...
47,265
public static synchronized Locale[] getAvailableLocales() { if (availableLocales == null) { int len = LocaleHelper.getLocaleCount(); availableLocales = new Locale[len]; for (int i = 0; i < len; i++) { String language; String region = ""; String var...
public static synchronized Locale[] getAvailableLocales() { if (availableLocales == null) { int len = LocaleHelper.getLocaleCount(); availableLocales = new Locale[len]; for (int i = 0; i < len; i++) { String language; String region = ""; String var...
47,266
public static synchronized Locale[] getAvailableLocales() { if (availableLocales == null) { int len = LocaleHelper.getLocaleCount(); availableLocales = new Locale[len]; for (int i = 0; i < len; i++) { String language; String region = ""; String var...
public static synchronized Locale[] getAvailableLocales() { if (availableLocales == null) { int len = LocaleHelper.getLocaleCount(); availableLocales = new Locale[len]; for (int i = 0; i < len; i++) { String language; String region = ""; String var...
47,267
public static synchronized Locale[] getAvailableLocales() { if (availableLocales == null) { int len = LocaleHelper.getLocaleCount(); availableLocales = new Locale[len]; for (int i = 0; i < len; i++) { String language; String region = ""; String var...
public static synchronized Locale[] getAvailableLocales() { if (availableLocales == null) { int len = LocaleHelper.getLocaleCount(); availableLocales = new Locale[len]; for (int i = 0; i < len; i++) { String language; String region = ""; String var...
47,268
public static synchronized Locale[] getAvailableLocales() { if (availableLocales == null) { int len = LocaleHelper.getLocaleCount(); availableLocales = new Locale[len]; for (int i = 0; i < len; i++) { String language; String region = ""; String var...
public static synchronized Locale[] getAvailableLocales() { if (availableLocales == null) { int len = LocaleHelper.getLocaleCount(); availableLocales = new Locale[len]; for (int i = 0; i < len; i++) { String language; String region = ""; String var...
47,269
public Object invoke(Invocation invocation) throws Throwable { if (invocation instanceof JMSMethodInvocation) { JMSMethodInvocation mi = (JMSMethodInvocation)invocation; Method m = mi.getMethod(); String methodName = m.getName(); if ("createMessage".equals(methodName)) ...
public Object invoke(Invocation invocation) throws Throwable { if (invocation instanceof JMSMethodInvocation) { JMSMethodInvocation mi = (JMSMethodInvocation)invocation; Method m = mi.getMethod(); String methodName = m.getName(); if ("createMessage".equals(methodName)) ...
47,270
public Object invoke(Invocation invocation) throws Throwable { if (invocation instanceof JMSMethodInvocation) { JMSMethodInvocation mi = (JMSMethodInvocation)invocation; Method m = mi.getMethod(); String methodName = m.getName(); if ("createMessage".equals(methodName)) ...
public Object invoke(Invocation invocation) throws Throwable { if (invocation instanceof JMSMethodInvocation) { JMSMethodInvocation mi = (JMSMethodInvocation)invocation; Method m = mi.getMethod(); String methodName = m.getName(); if ("createMessage".equals(methodName)) ...
47,271
public Object invoke(Invocation invocation) throws Throwable { if (invocation instanceof JMSMethodInvocation) { JMSMethodInvocation mi = (JMSMethodInvocation)invocation; Method m = mi.getMethod(); String methodName = m.getName(); if ("createMessage".equals(methodName)) ...
public Object invoke(Invocation invocation) throws Throwable { if (invocation instanceof JMSMethodInvocation) { JMSMethodInvocation mi = (JMSMethodInvocation)invocation; Method m = mi.getMethod(); String methodName = m.getName(); if ("createMessage".equals(methodName)) ...
47,272
public Object invoke(Invocation invocation) throws Throwable { if (invocation instanceof JMSMethodInvocation) { JMSMethodInvocation mi = (JMSMethodInvocation)invocation; Method m = mi.getMethod(); String methodName = m.getName(); if ("createMessage".equals(methodName)) ...
public Object invoke(Invocation invocation) throws Throwable { if (invocation instanceof JMSMethodInvocation) { JMSMethodInvocation mi = (JMSMethodInvocation)invocation; Method m = mi.getMethod(); String methodName = m.getName(); if ("createMessage".equals(methodName)) ...
47,273
public Object invoke(Invocation invocation) throws Throwable { if (invocation instanceof JMSMethodInvocation) { JMSMethodInvocation mi = (JMSMethodInvocation)invocation; Method m = mi.getMethod(); String methodName = m.getName(); if ("createMessage".equals(methodName)) ...
public Object invoke(Invocation invocation) throws Throwable { if (invocation instanceof JMSMethodInvocation) { JMSMethodInvocation mi = (JMSMethodInvocation)invocation; Method m = mi.getMethod(); String methodName = m.getName(); if ("createMessage".equals(methodName)) ...
47,274
public Object invoke(Invocation invocation) throws Throwable { if (invocation instanceof JMSMethodInvocation) { JMSMethodInvocation mi = (JMSMethodInvocation)invocation; Method m = mi.getMethod(); String methodName = m.getName(); if ("createMessage".equals(methodName)) ...
public Object invoke(Invocation invocation) throws Throwable { if (invocation instanceof JMSMethodInvocation) { JMSMethodInvocation mi = (JMSMethodInvocation)invocation; Method m = mi.getMethod(); String methodName = m.getName(); if ("createMessage".equals(methodName)) ...
47,275
public Object invoke(Invocation invocation) throws Throwable { if (invocation instanceof JMSMethodInvocation) { JMSMethodInvocation mi = (JMSMethodInvocation)invocation; Method m = mi.getMethod(); String methodName = m.getName(); if ("createMessage".equals(methodName)) ...
public Object invoke(Invocation invocation) throws Throwable { if (invocation instanceof JMSMethodInvocation) { JMSMethodInvocation mi = (JMSMethodInvocation)invocation; Method m = mi.getMethod(); String methodName = m.getName(); if ("createMessage".equals(methodName)) ...
47,276
public Object invoke(Invocation invocation) throws Throwable { if (invocation instanceof JMSMethodInvocation) { JMSMethodInvocation mi = (JMSMethodInvocation)invocation; Method m = mi.getMethod(); String methodName = m.getName(); if ("createMessage".equals(methodName)) ...
public Object invoke(Invocation invocation) throws Throwable { if (invocation instanceof JMSMethodInvocation) { JMSMethodInvocation mi = (JMSMethodInvocation)invocation; Method m = mi.getMethod(); String methodName = m.getName(); if ("createMessage".equals(methodName)) ...
47,277
public Object invoke(Invocation invocation) throws Throwable { if (invocation instanceof JMSMethodInvocation) { JMSMethodInvocation mi = (JMSMethodInvocation)invocation; Method m = mi.getMethod(); String methodName = m.getName(); if ("createMessage".equals(methodName)) ...
public Object invoke(Invocation invocation) throws Throwable { if (invocation instanceof JMSMethodInvocation) { JMSMethodInvocation mi = (JMSMethodInvocation)invocation; Method m = mi.getMethod(); String methodName = m.getName(); if ("createMessage".equals(methodName)) ...
47,278
public Object invoke(Invocation invocation) throws Throwable { if (invocation instanceof JMSMethodInvocation) { JMSMethodInvocation mi = (JMSMethodInvocation)invocation; Method m = mi.getMethod(); String methodName = m.getName(); if ("createMessage".equals(methodName)) ...
public Object invoke(Invocation invocation) throws Throwable { if (invocation instanceof JMSMethodInvocation) { JMSMethodInvocation mi = (JMSMethodInvocation)invocation; Method m = mi.getMethod(); String methodName = m.getName(); if ("createMessage".equals(methodName)) ...
47,279
public void testCommitIllegalState() throws Exception { Connection conn = cf.createConnection(); Session producerSess = conn.createSession(false, Session.CLIENT_ACKNOWLEDGE); boolean thrown = false; try { producerSess.commit(); } catch (javax.jms.IllegalStateException e) ...
public void testCommitIllegalState() throws Exception { Connection conn = cf.createConnection(); Session producerSess = conn.createSession(false, Session.CLIENT_ACKNOWLEDGE); boolean thrown = false; try { producerSess.commit(); } catch (javax.jms.IllegalStateException e) ...
47,281
public void testCommitIllegalState() throws Exception { Connection conn = cf.createConnection(); Session producerSess = conn.createSession(false, Session.CLIENT_ACKNOWLEDGE); boolean thrown = false; try { producerSess.commit(); } catch (javax.jms.IllegalStateException e) ...
public void testCommitIllegalState() throws Exception { Connection conn = cf.createConnection(); Session producerSess = conn.createSession(false, Session.CLIENT_ACKNOWLEDGE); boolean thrown = false; try { conn = cf.createConnection(); Session producerSess = conn.createSession(fal...
47,282
public void testCommitIllegalState() throws Exception { Connection conn = cf.createConnection(); Session producerSess = conn.createSession(false, Session.CLIENT_ACKNOWLEDGE); boolean thrown = false; try { producerSess.commit(); } catch (javax.jms.IllegalStateException e) ...
public void testCommitIllegalState() throws Exception { Connection conn = cf.createConnection(); Session producerSess = conn.createSession(false, Session.CLIENT_ACKNOWLEDGE); boolean thrown = false; try { producerSess.commit(); } catch (javax.jms.IllegalStateException e) ...
47,283
public void testCommitIllegalState() throws Exception { Connection conn = cf.createConnection(); Session producerSess = conn.createSession(false, Session.CLIENT_ACKNOWLEDGE); boolean thrown = false; try { producerSess.commit(); } catch (javax.jms.IllegalStateException e) ...
public void testCommitIllegalState() throws Exception { Connection conn = cf.createConnection(); Session producerSess = conn.createSession(false, Session.CLIENT_ACKNOWLEDGE); boolean thrown = false; try { producerSess.commit(); } catch (javax.jms.IllegalStateException e) ...
47,284
public void testRollbackIllegalState() throws Exception { Connection conn = cf.createConnection(); Session producerSess = conn.createSession(false, Session.CLIENT_ACKNOWLEDGE); boolean thrown = false; try { producerSess.rollback(); } catch (javax.jms.IllegalStateException...
public void testRollbackIllegalState() throws Exception { Connection conn = cf.createConnection(); Session producerSess = conn.createSession(false, Session.CLIENT_ACKNOWLEDGE); boolean thrown = false; try { producerSess.rollback(); } catch (javax.jms.IllegalStateException...
47,285
public void testRollbackIllegalState() throws Exception { Connection conn = cf.createConnection(); Session producerSess = conn.createSession(false, Session.CLIENT_ACKNOWLEDGE); boolean thrown = false; try { producerSess.rollback(); } catch (javax.jms.IllegalStateException...
public void testRollbackIllegalState() throws Exception { Connection conn = cf.createConnection(); Session producerSess = conn.createSession(false, Session.CLIENT_ACKNOWLEDGE); boolean thrown = false; try { conn = cf.createConnection(); Session producerSess = conn.createSession(f...
47,286
public void testRollbackIllegalState() throws Exception { Connection conn = cf.createConnection(); Session producerSess = conn.createSession(false, Session.CLIENT_ACKNOWLEDGE); boolean thrown = false; try { producerSess.rollback(); } catch (javax.jms.IllegalStateException...
public void testRollbackIllegalState() throws Exception { Connection conn = cf.createConnection(); Session producerSess = conn.createSession(false, Session.CLIENT_ACKNOWLEDGE); boolean thrown = false; try { producerSess.rollback(); } catch (javax.jms.IllegalStateException...
47,287
public void testRollbackIllegalState() throws Exception { Connection conn = cf.createConnection(); Session producerSess = conn.createSession(false, Session.CLIENT_ACKNOWLEDGE); boolean thrown = false; try { producerSess.rollback(); } catch (javax.jms.IllegalStateException...
public void testRollbackIllegalState() throws Exception { Connection conn = cf.createConnection(); Session producerSess = conn.createSession(false, Session.CLIENT_ACKNOWLEDGE); boolean thrown = false; try { producerSess.rollback(); } catch (javax.jms.IllegalStateException...
47,288
public static void layoutContent(Context c, Box box, List contentList) { // Uu.p("+ InlineLayout.layoutContent(): " + box); Rectangle bounds = new Rectangle(); bounds.width = c.getExtents().width; Border border = LayoutUtil.getBorder(box, c.getCurrentStyle()); Border margin = c.ge...
public static void layoutContent(Context c, Box box, List contentList) { // Uu.p("+ InlineLayout.layoutContent(): " + box); Rectangle bounds = new Rectangle(); bounds.width = c.getExtents().width; Border border = LayoutUtil.getBorder(box, c.getCurrentStyle()); Border margin = c.ge...
47,289
public static void layoutContent(Context c, Box box, List contentList) { // Uu.p("+ InlineLayout.layoutContent(): " + box); Rectangle bounds = new Rectangle(); bounds.width = c.getExtents().width; Border border = LayoutUtil.getBorder(box, c.getCurrentStyle()); Border margin = c.ge...
public static void layoutContent(Context c, Box box, List contentList) { // Uu.p("+ InlineLayout.layoutContent(): " + box); Rectangle bounds = new Rectangle(); bounds.width = c.getExtents().width; Border border = LayoutUtil.getBorder(box, c.getCurrentStyle()); Border margin = c.ge...
47,290
public char setIndex(int position) { if (position < getBeginIndex() || position > getEndIndex()) throw new IllegalArgumentException("position: " + position + ", beginIndex: " + getBeginIndex() + ", endIndex: " + getEndIndex()...
public char setIndex(int position) { if (position < getBeginIndex() || position > getEndIndex()) throw new IllegalArgumentException("position: " + position + ", beginIndex: " + getBeginIndex() + ", endIndex: " + getEndIndex()...
47,291
public void requestMessages() { if (channel == null) { log.error("No channel, cannot request messages"); return; } log.info("receiver explicitely requesting message from the channel"); channel.deliver(this); }
public void requestMessages() { if (channel == null) { log.error("No channel, cannot request messages"); return; } log.info("receiver explicitely requesting message from the channel"); channel.redeliver(this); }
47,292
public void testCopyAfterReceive() throws Exception { if (ServerManagement.isRemote()) { return; } Connection conn = null; try { conn = cf.createConnection(); conn.start(); Session sess = conn.createSession(false, Session.A...
publicvoidtestCopyAfterReceive()throwsException{if(ServerManagement.isRemote()){return;}Connectionconn=null;try{conn=cf.createConnection();conn.start();Sessionsess=conn.createSession(false,Session.AUTO_ACKNOWLEDGE);MessageProducerprod=sess.createProducer(queue);MessageConsumercons=sess.createConsumer(queue);MapMessagem...
47,293
public void paint(Context c, Box box) { //u.p("BoxRenderer.paint " + box); Box block = (Box) box; // copy the bounds to we don't mess it up Rectangle oldBounds = new Rectangle(c.getExtents()); if (block.relative) { paintRelative(c, block); } else if (block.fixed)...
public void paint(Context c, Box box) { //u.p("BoxRenderer.paint " + box); Box block = (Box) box; // copy the bounds to we don't mess it up Rectangle oldBounds = new Rectangle(c.getExtents()); if (block.relative) { paintRelative(c, block); } else if (block.fixed)...
47,295
public void paintBackground(Context c, Box box) { Box block = box; // cache the background color getBackgroundColor(c, block); // get the css properties CalculatedStyle style = c.css.getStyle(block.getRealElement()); String back_image = style.getStringProperty("background-i...
public void paintBackground(Context c, Box box) { Box block = box; // cache the background color getBackgroundColor(c, block); // get the css properties CalculatedStyle style = null; if (box.getContent() == null) { XRLog.render(Level.WARNING, "null content in BoxRenderer.paintBack...
47,296
public ConnectionDelegate createConnectionDelegate(String username, String password) throws JMSException { log.debug("Creating a new connection with username=" + username); //authenticate the user serverPeer.getSecurityManager().authenticate(username, password); //See if there is...
public ConnectionDelegate createConnectionDelegate(String username, String password) throws JMSException { log.debug("Creating a new connection with username=" + username); //authenticate the user serverPeer.getSecurityManager().authenticate(username, password); //See if there is...
47,297
public int getAccessibleIndexInParent() { // TODO: do ImageIcons have parents?? return -1; }
public int getAccessibleIndexInParent() { // TODO: do ImageIcons have parents?? return -1; }
47,298
public Accessible getAccessibleParent() { // TODO: ImageIcons have no parent, have they ?? return null; }
public Accessible getAccessibleParent() { // TODO: ImageIcons have no parent, have they ?? return null; }
47,299
public AccessibleStateSet getAccessibleStateSet() { // TODO: which state information from ImageIcon is returned here?? return new AccessibleStateSet(); }
public AccessibleStateSet getAccessibleStateSet() { // TODO: which state information from ImageIcon is returned here?? return null; }
47,300
public Locale getLocale() { return Locale.getDefault(); }
public Locale getLocale() { return null; }
47,301
public void linkClicked( Box box, MouseEvent evt ) { panel.repaint(); try { Element elem = box.element; if ( elem.hasAttribute( "href" ) ) { panel.setDocumentRelative( elem.getAttribute( "href" ) ); } } catch ( Exception ex ) { Uu.p( ex...
public void linkClicked(String uri) { panel.repaint(); try { Element elem = box.element; if ( elem.hasAttribute( "href" ) ) { panel.setDocumentRelative( elem.getAttribute( "href" ) ); } } catch ( Exception ex ) { Uu.p( ex ); } ...
47,302
public void linkClicked( Box box, MouseEvent evt ) { panel.repaint(); try { Element elem = box.element; if ( elem.hasAttribute( "href" ) ) { panel.setDocumentRelative( elem.getAttribute( "href" ) ); } } catch ( Exception ex ) { Uu.p( ex...
public void linkClicked( Box box, MouseEvent evt ) { panel.repaint(); try { Element elem = box.element; if ( elem.hasAttribute( "href" ) ) { panel.setDocumentRelative( elem.getAttribute( "href" ) ); } } catch ( Exception ex ) { Uu.p( ex...
47,303
protected PostOffice createPostOffice() throws Exception { FilterFactory ff = new SimpleFilterFactory(); DefaultPostOffice postOffice = new DefaultPostOffice(sc.getDataSource(), sc.getTransactionManager(), null, true, "node1", "Simple", ms, pm, tr, ff, pool); ...
protected PostOffice createPostOffice() throws Exception { FilterFactory ff = new SimpleFilterFactory(); DefaultPostOffice postOffice = new DefaultPostOffice(sc.getDataSource(), sc.getTransactionManager(), null, true, 1, "Simple", ms, pm, tr, ff, pool); ...
47,304
public static void paintAbsoluteBox(Context c, Box block, boolean restyle) { Rectangle rect = c.getExtents(); //why this? int xoff = 0; int yoff = 0; //Uu.p("xoff = " + xoff + " yoff = " + yoff); BlockFormattingContext bfc = c.getBlockFormattingContext(); //Uu.p("bfc = " + bfc...
public static void paintAbsoluteBox(Context c, Box block, boolean restyle) { Rectangle rect = c.getExtents(); //why this? int xoff = 0; int yoff = 0; //Uu.p("xoff = " + xoff + " yoff = " + yoff); BlockFormattingC...
47,305
public static void paintAbsoluteBox(Context c, Box block, boolean restyle) { Rectangle rect = c.getExtents(); //why this? int xoff = 0; int yoff = 0; //Uu.p("xoff = " + xoff + " yoff = " + yoff); BlockFormattingContext bfc = c.getBlockFormattingContext(); //Uu.p("bfc = " + bfc...
public static void paintAbsoluteBox(Context c, Box block, boolean restyle) { Rectangle rect = c.getExtents(); //why this? int xoff = 0; int yoff = 0; //Uu.p("xoff = " + xoff + " yoff = " + yoff); BlockFormattingContext bfc = c.getBlockFormattingContext(); //Uu.p("bfc = " + bfc...
47,306
public void importURL(final URL url) { Workspace space; if(url==null) return; if (!(currentWorkspace instanceof Workspace)) return; space = (Workspace)currentWorkspace; StatusDisplay status = (StatusDisplay)WorkflowDesigner.INSTANCE.statusBar.getItemByName("Status"); String f = url.g...
public void importURL(final URL url) { Workspace space; if(url==null) return; if (!(currentWorkspace instanceof Workspace)) return; space = (Workspace)currentWorkspace; StatusDisplay status = (StatusDisplay)WorkflowDesigner.INSTANCE.statusBar.getItemByName("Status"); String f = url.g...
47,307
private FSDerivedValue deriveValue(CSSName cssName, org.w3c.dom.css.CSSPrimitiveValue value) { // Start assuming our computed value is the same as the specified value RGBColor rgb = (value.getPrimitiveType() == CSSPrimitiveValue.CSS_RGBCOLOR ? value.getRGBColorValue() : null); String s = (value...
private FSDerivedValue deriveValue(CSSName cssName, org.w3c.dom.css.CSSPrimitiveValue value) { // Start assuming our computed value is the same as the specified value RGBColor rgb = (value.getPrimitiveType() == CSSPrimitiveValue.CSS_RGBCOLOR ? value.getRGBColorValue() : null); String s = (value...
47,308
public static FSDerivedValue newDerivedValue( CalculatedStyle style, CSSName cssName, short cssSACUnitType, String cssText, String cssStringValue, RGBColor rgbColor ) { FSDerivedValue val = null; if (cssName == CSSName.BACKGROUND_POS...
public static FSDerivedValue newDerivedValue( CalculatedStyle style, CSSName cssName, short cssSACUnitType, String cssText, String cssStringValue, RGBColor rgbColor ) { FSDerivedValue val = null; if (cssName == CSSName.BACKGROUND_POS...
47,309
public static FSDerivedValue newDerivedValue( CalculatedStyle style, CSSName cssName, short cssSACUnitType, String cssText, String cssStringValue, RGBColor rgbColor ) { FSDerivedValue val = null; if (cssName == CSSName.BACKGROUND_POS...
public static FSDerivedValue newDerivedValue( CalculatedStyle style, CSSName cssName, short cssSACUnitType, String cssText, String cssStringValue, RGBColor rgbColor ) { FSDerivedValue val = null; if (cssName == CSSName.BACKGROUND_POS...
47,310
protected Message createMessage(byte i, boolean reliable) throws Exception { HashMap coreHeaders = generateFilledMap(true); HashMap jmsProperties = generateFilledMap(false); JBossObjectMessage m = new JBossObjectMessage(i, reliable, ...
protected Message createMessage(byte i, boolean reliable) throws Exception { HashMap coreHeaders = generateFilledMap(true); HashMap jmsProperties = generateFilledMap(false); JBossObjectMessage m = new JBossObjectMessage(i, reliable, ...
47,311
public String getTestString() { StringBuffer sb = new StringBuffer(); // type if (this instanceof LineBox) { sb.append("line:"); } else if (this instanceof InlineBox) { sb.append("inline:"); } else { sb.append("box:"); } // element ...
public String getTestString() { StringBuffer sb = new StringBuffer(); // type if (this instanceof LineBox) { sb.append("line:"); } else if (this instanceof InlineBox) { sb.append("inline:"); } else { sb.append("box:"); } // element ...
47,312
public boolean isAnonymous() { return false; }
public boolean isAnonymous() { return false; }
47,313
public String toString() { StringBuffer sb = new StringBuffer(); sb.append("Box: "); if (getNode() == null) { sb.append(" null node, "); } else { sb.append(getNode().getNodeName() + " (" + getNode().hashCode() + ")"); } sb.append(" (" + x + "," + y + "...
public String toString() { StringBuffer sb = new StringBuffer(); sb.append("Box: "); if (getNode() == null) { sb.append(" null node, "); } else { sb.append(getNode().getNodeName() + " (" + getNode().hashCode() + ")"); } sb.append(" (" + x + "," + y + "...
47,314
public String toString() { StringBuffer sb = new StringBuffer(); sb.append("Box: "); if (getNode() == null) { sb.append(" null node, "); } else { sb.append(getNode().getNodeName() + " (" + getNode().hashCode() + ")"); } sb.append(" (" + x + "," + y + "...
public String toString() { StringBuffer sb = new StringBuffer(); sb.append("Box: "); if (getNode() == null) { sb.append(" null node, "); } else { sb.append(getContent().getClass().getName() + " (" + getContent().hashCode() + ")"); } sb.append(" (" + x ...
47,315
public void testSave() throws Exception { URL url = getClass().getResource("/samples/saved.xml"); Document inputDocument = documentBuilder.parse(url.toString()); WorkflowDescriptor descriptor = DescriptorLoader.getDescriptor(url.toString()); StringWriter out = new StringWriter(); ...
public void testSave() throws Exception { URL url = getClass().getResource("/samples/saved.xml"); Document inputDocument = documentBuilder.parse(url.toString()); WorkflowDescriptor descriptor = DescriptorLoader.getDescriptor(url.toString()); StringWriter out = new StringWriter(); ...
47,316
public boolean isOutsideNormalFlow(Box box) { if(box.fixed) { return true; } if(box.absolute) { return true; } if(box.floated) { return true; } return false; }
public boolean isOutsideNormalFlow(Box box) { if(box.fixed) { return true; } if(box.isAbsolute()) { return true; } if(box.floated) { return true; } return false; }
47,318
public Box layoutChildren( Context c, Box box ) { //u.p("Layout.layoutChildren: " + box); Element elem = (Element)box.node; // prepare for the list items int old_counter = c.getListCounter(); c.setListCounter( 0 ); // for each child NodeList nl = elem.getChildNodes()...
public Box layoutChildren( Context c, Box box ) { //u.p("Layout.layoutChildren: " + box); Element elem = (Element)box.node; // prepare for the list items int old_counter = c.getListCounter(); c.setListCounter( 0 ); // for each child NodeList nl = elem.getChildNodes()...
47,319
public Box layoutChildren( Context c, Box box ) { //u.p("Layout.layoutChildren: " + box); Element elem = (Element)box.node; // prepare for the list items int old_counter = c.getListCounter(); c.setListCounter( 0 ); // for each child NodeList nl = elem.getChildNodes()...
public Box layoutChildren( Context c, Box box ) { //u.p("Layout.layoutChildren: " + box); Element elem = (Element)box.node; // prepare for the list items int old_counter = c.getListCounter(); c.setListCounter( 0 ); // for each child NodeList nl = elem.getChildNodes()...
47,320
public static InlineBox generateFirstLetterInlineBox( Context c, Node node, int start, String text, InlineBox prev, InlineBox prev_align, int avail ) { // u.p("gen first letter box"); // u.p("node = " + node); // u.p("start = " + start)...
public static InlineBox generateFirstLetterInlineBox( Context c, Node node, int start, String text, InlineBox prev, InlineBox prev_align, int avail ) { // u.p("gen first letter box"); // u.p("node = " + node); // u.p("start = " + start)...
47,321
public void setComponent(Component c) { remove(component); this.component = c; add(c); }
public void setComponent(Component c) { remove(component); this.component = c; add(c); }
47,322
public void insertTab(String title, Icon icon, Component component, String tip, int index) { if (title == null) title = ""; Page p = new Page(title, icon, component, tip); tabs.insertElementAt(p, index); // Hide the component so we don't see it. Do it before we parent it //...
public void insertTab(String title, Icon icon, Component component, String tip, int index) { if (title == null) title = ""; Page p = new Page(title, icon, component, tip); tabs.insertElementAt(p, index); // Hide the component so we don't see it. Do it before we parent it //...
47,323
public void remove(Component component) { // This simply removes the component. int index = indexOfComponent(component); super.remove(component); component.show(); setComponentAt(index, null); }
public void remove(Component component) { // This simply removes the component. super.remove(component); component.show(); setComponentAt(index, null); }
47,324
public void remove(Component component) { // This simply removes the component. int index = indexOfComponent(component); super.remove(component); component.show(); setComponentAt(index, null); }
public void remove(Component component) { // This simply removes the component. int index = indexOfComponent(component); super.remove(component); component.show(); setComponentAt(index, null); }
47,325
public void removeTabAt(int index) { checkIndex(index, 0, tabs.size()); Component c = getComponentAt(index); super.remove(index); c.show(); tabs.remove(index); }
public void removeTabAt(int index) { checkIndex(index, 0, tabs.size()); Component c = getComponentAt(index); super.remove(index); c.show(); tabs.remove(index); }
47,326
MessageHolder(String routingKey, Message message, Map queueNameToNodeIdMap) { this.routingKey = routingKey; this.message = message; this.queueNameToNodeIdMap = queueNameToNodeIdMap; }
MessageHolder(String routingKey, Message message, Map queueNameToNodeIdMap) { this.routingKey = routingKey; this.message = message; this.queueNameToNodeIdMap = queueNameToNodeIdMap; }
47,328
SendTransactionRequest(int nodeId, long txId) { super(nodeId, txId, false); }
SendTransactionRequest() { super(nodeId, txId, false); }
47,329
SendTransactionRequest(int nodeId, long txId) { super(nodeId, txId, false); }
SendTransactionRequest(int nodeId, long txId) { }
47,330
public void addInlineChild(Context c, InlineBox ib) { if (ib == null) throw new NullPointerException("trying to add null child"); if (getChildCount() == 0 && ib instanceof InlineTextBox) {//first box on line InlineTextBox child = (InlineTextBox) ib; if (child.getSubstring().start...
public void addInlineChild(Context c, InlineBox ib) { if (ib == null) throw new NullPointerException("trying to add null child"); if (getChildCount() == 0 && ib instanceof InlineTextBox) {//first box on line InlineTextBox child = (InlineTextBox) ib; if (child.getSubstring().start...
47,331
private void paintPage(RenderingContext c, PageBox page) { Shape working = _outputDevice.getClip(); Rectangle content = page.getPrintingClippingBounds(c); _outputDevice.clip(content); int top = -page.getPaintingTop() + page.getStyle().getMarginBorderPa...
private void paintPage(RenderingContext c, PageBox page) { Shape working = _outputDevice.getClip(); Rectangle content = page.getPrintingClippingBounds(c); _outputDevice.clip(content); int top = -page.getPaintingTop() + page.getStyle().getMarginBorderPa...
47,332
void writeArray(Array x) throws SQLException;
void writeArray(Array x) throws SQLException;
47,333
void writeAsciiStream(InputStream x) throws SQLException;
void writeAsciiStream(InputStream x) throws SQLException;
47,334
void writeBigDecimal(BigDecimal x) throws SQLException;
void writeBigDecimal(BigDecimal x) throws SQLException;
47,335
void writeBinaryStream(InputStream x) throws SQLException;
void writeBinaryStream(InputStream x) throws SQLException;
47,336
void writeBlob(Blob x) throws SQLException;
void writeBlob(Blob x) throws SQLException;
47,337
void writeBoolean(boolean x) throws SQLException;
void writeBoolean(boolean x) throws SQLException;
47,338
void writeByte(byte x) throws SQLException;
void writeByte(byte x) throws SQLException;
47,339
void writeBytes(byte[] x) throws SQLException;
void writeBytes(byte[] x) throws SQLException;
47,340
void writeCharacterStream(Reader x) throws SQLException;
void writeCharacterStream(Reader x) throws SQLException;
47,341
void writeClob(Clob x) throws SQLException;
void writeClob(Clob x) throws SQLException;
47,342
void writeDate(Date x) throws SQLException;
void writeDate(Date x) throws SQLException;
47,343
void writeDouble(double x) throws SQLException;
void writeDouble(double x) throws SQLException;
47,344
void writeFloat(float x) throws SQLException;
void writeFloat(float x) throws SQLException;
47,345
void writeInt(int x) throws SQLException;
void writeInt(int x) throws SQLException;
47,346
void writeLong(long x) throws SQLException;
void writeLong(long x) throws SQLException;
47,347
void writeObject(SQLData x) throws SQLException;
void writeObject(SQLData x) throws SQLException;
47,348
void writeRef(Ref x) throws SQLException;
void writeRef(Ref x) throws SQLException;
47,349
void writeShort(short x) throws SQLException;
void writeShort(short x) throws SQLException;
47,350
void writeString(String x) throws SQLException;
void writeString(String x) throws SQLException;
47,351