bugged
stringlengths
6
599k
fixed
stringlengths
10
599k
__index_level_0__
int64
0
1.13M
boolean isReadOnly(int column) throws SQLException;
boolean isReadOnly(int columnIndex) throws SQLException;
30,308
boolean isSearchable(int column) throws SQLException;
boolean isSearchable(int columnIndex) throws SQLException;
30,309
boolean isSigned(int column) throws SQLException;
boolean isSigned(int columnIndex) throws SQLException;
30,310
boolean isWritable(int column) throws SQLException;
boolean isWritable(int columnIndex) throws SQLException;
30,311
public static void paint(Rectangle bounds, int sides, CalculatedStyle style, Graphics g, RenderingContext ctx) { //Graphics g = c.getGraphics(); //CalculatedStyle style = c.getCurrentStyle(); BorderColor border_color = style.getBorderColor(); //int width = (int) bounds.getWidth(); ...
public static void paint(Rectangle bounds, int sides, CalculatedStyle style, Graphics g, RenderingContext ctx, int xOffset) { //Graphics g = c.getGraphics(); //CalculatedStyle style = c.getCurrentStyle(); BorderColor border_color = style.getBorderColor(); //int width = (int) bounds.getWi...
30,312
public static void paint(Rectangle bounds, int sides, CalculatedStyle style, Graphics g, RenderingContext ctx) { //Graphics g = c.getGraphics(); //CalculatedStyle style = c.getCurrentStyle(); BorderColor border_color = style.getBorderColor(); //int width = (int) bounds.getWidth(); ...
public static void paint(Rectangle bounds, int sides, CalculatedStyle style, Graphics g, RenderingContext ctx) { //Graphics g = c.getGraphics(); //CalculatedStyle style = c.getCurrentStyle(); BorderColor border_color = style.getBorderColor(); //int width = (int) bounds.getWidth(); ...
30,313
public static void paint(Rectangle bounds, int sides, CalculatedStyle style, Graphics g, RenderingContext ctx) { //Graphics g = c.getGraphics(); //CalculatedStyle style = c.getCurrentStyle(); BorderColor border_color = style.getBorderColor(); //int width = (int) bounds.getWidth(); ...
public static void paint(Rectangle bounds, int sides, CalculatedStyle style, Graphics g, RenderingContext ctx) { //Graphics g = c.getGraphics(); //CalculatedStyle style = c.getCurrentStyle(); BorderColor border_color = style.getBorderColor(); //int width = (int) bounds.getWidth(); ...
30,314
public static void paint(Rectangle bounds, int sides, CalculatedStyle style, Graphics g, RenderingContext ctx) { //Graphics g = c.getGraphics(); //CalculatedStyle style = c.getCurrentStyle(); BorderColor border_color = style.getBorderColor(); //int width = (int) bounds.getWidth(); ...
public static void paint(Rectangle bounds, int sides, CalculatedStyle style, Graphics g, RenderingContext ctx) { //Graphics g = c.getGraphics(); //CalculatedStyle style = c.getCurrentStyle(); BorderColor border_color = style.getBorderColor(); //int width = (int) bounds.getWidth(); ...
30,315
public static void paint(Rectangle bounds, int sides, CalculatedStyle style, Graphics g, RenderingContext ctx) { //Graphics g = c.getGraphics(); //CalculatedStyle style = c.getCurrentStyle(); BorderColor border_color = style.getBorderColor(); //int width = (int) bounds.getWidth(); ...
public static void paint(Rectangle bounds, int sides, CalculatedStyle style, Graphics g, RenderingContext ctx) { //Graphics g = c.getGraphics(); //CalculatedStyle style = c.getCurrentStyle(); BorderColor border_color = style.getBorderColor(); //int width = (int) bounds.getWidth(); ...
30,316
public static void paint(Rectangle bounds, int sides, CalculatedStyle style, Graphics g, RenderingContext ctx) { //Graphics g = c.getGraphics(); //CalculatedStyle style = c.getCurrentStyle(); BorderColor border_color = style.getBorderColor(); //int width = (int) bounds.getWidth(); ...
public static void paint(Rectangle bounds, int sides, CalculatedStyle style, Graphics g, RenderingContext ctx) { //Graphics g = c.getGraphics(); //CalculatedStyle style = c.getCurrentStyle(); BorderColor border_color = style.getBorderColor(); //int width = (int) bounds.getWidth(); ...
30,317
public static void paint(Rectangle bounds, int sides, CalculatedStyle style, Graphics g, RenderingContext ctx) { //Graphics g = c.getGraphics(); //CalculatedStyle style = c.getCurrentStyle(); BorderColor border_color = style.getBorderColor(); //int width = (int) bounds.getWidth(); ...
public static void paint(Rectangle bounds, int sides, CalculatedStyle style, Graphics g, RenderingContext ctx) { //Graphics g = c.getGraphics(); //CalculatedStyle style = c.getCurrentStyle(); BorderColor border_color = style.getBorderColor(); //int width = (int) bounds.getWidth(); ...
30,318
private static void paintGoodBevel(final Graphics g, final Rectangle bounds, final Border border, final BorderColor high, final BorderColor low, final int sides) { int rightCorner = (((sides & RIGHT) == RIGHT) ? border.right : 0); int leftCorner = (((sides & LEFT) == LEFT) ? border.left : 0); i...
private static void paintGoodBevel(final Graphics g, final Rectangle bounds, final Border border, final BorderColor high, final BorderColor low, final int sides) { int rightCorner = (((sides & RIGHT) == RIGHT) ? border.right : 0); int leftCorner = (((sides & LEFT) == LEFT) ? border.left : 0); i...
30,319
private static void paintGoodBevel(final Graphics g, final Rectangle bounds, final Border border, final BorderColor high, final BorderColor low, final int sides) { int rightCorner = (((sides & RIGHT) == RIGHT) ? border.right : 0); int leftCorner = (((sides & LEFT) == LEFT) ? border.left : 0); i...
private static void paintGoodBevel(final Graphics g, final Rectangle bounds, final Border border, final BorderColor high, final BorderColor low, final int sides) { int rightCorner = (((sides & RIGHT) == RIGHT) ? border.right : 0); int leftCorner = (((sides & LEFT) == LEFT) ? border.left : 0); i...
30,320
private static void paintGoodBevel(final Graphics g, final Rectangle bounds, final Border border, final BorderColor high, final BorderColor low, final int sides) { int rightCorner = (((sides & RIGHT) == RIGHT) ? border.right : 0); int leftCorner = (((sides & LEFT) == LEFT) ? border.left : 0); i...
private static void paintGoodBevel(final Graphics g, final Rectangle bounds, final Border border, final BorderColor high, final BorderColor low, final int sides) { int rightCorner = (((sides & RIGHT) == RIGHT) ? border.right : 0); int leftCorner = (((sides & LEFT) == LEFT) ? border.left : 0); i...
30,321
private static void paintGoodBevel(final Graphics g, final Rectangle bounds, final Border border, final BorderColor high, final BorderColor low, final int sides) { int rightCorner = (((sides & RIGHT) == RIGHT) ? border.right : 0); int leftCorner = (((sides & LEFT) == LEFT) ? border.left : 0); i...
private static void paintGoodBevel(final Graphics g, final Rectangle bounds, final Border border, final BorderColor high, final BorderColor low, final int sides) { int rightCorner = (((sides & RIGHT) == RIGHT) ? border.right : 0); int leftCorner = (((sides & LEFT) == LEFT) ? border.left : 0); i...
30,322
private static void paintGoodBevel(final Graphics g, final Rectangle bounds, final Border border, final BorderColor high, final BorderColor low, final int sides) { int rightCorner = (((sides & RIGHT) == RIGHT) ? border.right : 0); int leftCorner = (((sides & LEFT) == LEFT) ? border.left : 0); i...
private static void paintGoodBevel(final Graphics g, final Rectangle bounds, final Border border, final BorderColor high, final BorderColor low, final int sides) { int rightCorner = (((sides & RIGHT) == RIGHT) ? border.right : 0); int leftCorner = (((sides & LEFT) == LEFT) ? border.left : 0); i...
30,323
private static void paintGoodBevel(final Graphics g, final Rectangle bounds, final Border border, final BorderColor high, final BorderColor low, final int sides) { int rightCorner = (((sides & RIGHT) == RIGHT) ? border.right : 0); int leftCorner = (((sides & LEFT) == LEFT) ? border.left : 0); i...
private static void paintGoodBevel(final Graphics g, final Rectangle bounds, final Border border, final BorderColor high, final BorderColor low, final int sides) { int rightCorner = (((sides & RIGHT) == RIGHT) ? border.right : 0); int leftCorner = (((sides & LEFT) == LEFT) ? border.left : 0); i...
30,324
private static void paintGoodBevel(final Graphics g, final Rectangle bounds, final Border border, final BorderColor high, final BorderColor low, final int sides) { int rightCorner = (((sides & RIGHT) == RIGHT) ? border.right : 0); int leftCorner = (((sides & LEFT) == LEFT) ? border.left : 0); i...
private static void paintGoodBevel(final Graphics g, final Rectangle bounds, final Border border, final BorderColor high, final BorderColor low, final int sides) { int rightCorner = (((sides & RIGHT) == RIGHT) ? border.right : 0); int leftCorner = (((sides & LEFT) == LEFT) ? border.left : 0); i...
30,325
private static void paintGoodBevel(final Graphics g, final Rectangle bounds, final Border border, final BorderColor high, final BorderColor low, final int sides) { int rightCorner = (((sides & RIGHT) == RIGHT) ? border.right : 0); int leftCorner = (((sides & LEFT) == LEFT) ? border.left : 0); i...
private static void paintGoodBevel(final Graphics g, final Rectangle bounds, final Border border, final BorderColor high, final BorderColor low, final int sides) { int rightCorner = (((sides & RIGHT) == RIGHT) ? border.right : 0); int leftCorner = (((sides & LEFT) == LEFT) ? border.left : 0); i...
30,326
private static void paintGoodBevel(final Graphics g, final Rectangle bounds, final Border border, final BorderColor high, final BorderColor low, final int sides) { int rightCorner = (((sides & RIGHT) == RIGHT) ? border.right : 0); int leftCorner = (((sides & LEFT) == LEFT) ? border.left : 0); i...
private static void paintGoodBevel(final Graphics g, final Rectangle bounds, final Border border, final BorderColor high, final BorderColor low, final int sides) { int rightCorner = (((sides & RIGHT) == RIGHT) ? border.right : 0); int leftCorner = (((sides & LEFT) == LEFT) ? border.left : 0); i...
30,327
private static void paintGoodBevel(final Graphics g, final Rectangle bounds, final Border border, final BorderColor high, final BorderColor low, final int sides) { int rightCorner = (((sides & RIGHT) == RIGHT) ? border.right : 0); int leftCorner = (((sides & LEFT) == LEFT) ? border.left : 0); i...
private static void paintGoodBevel(final Graphics g, final Rectangle bounds, final Border border, final BorderColor high, final BorderColor low, final int sides) { int rightCorner = (((sides & RIGHT) == RIGHT) ? border.right : 0); int leftCorner = (((sides & LEFT) == LEFT) ? border.left : 0); i...
30,328
private static void paintPatternedRect(final Graphics2D g2, final Rectangle bounds, final Border border, final BorderColor color, final float[] pattern, final int sides) { Stroke old_stroke = g2.getStroke(); int x = bounds.x; int y = bounds.y; int w = bounds.width; int h = bounds....
private static void paintPatternedRect(final Graphics2D g2, final Rectangle bounds, final Border border, final BorderColor color, final float[] pattern, final int sides, final int currentSide, int xOffset) { Polygon clip = getBevelledPolygon(bounds, border, sides, currentSide); Shape old_clip = g2.getClip(); if (cl...
30,329
private static void paintPatternedRect(final Graphics2D g2, final Rectangle bounds, final Border border, final BorderColor color, final float[] pattern, final int sides) { Stroke old_stroke = g2.getStroke(); int x = bounds.x; int y = bounds.y; int w = bounds.width; int h = bounds....
private static void paintPatternedRect(final Graphics2D g2, final Rectangle bounds, final Border border, final BorderColor color, final float[] pattern, final int sides) { Stroke old_stroke = g2.getStroke(); int x = bounds.x; int y = bounds.y; int w = bounds.width; int h = bounds....
30,330
private static void paintPatternedRect(final Graphics2D g2, final Rectangle bounds, final Border border, final BorderColor color, final float[] pattern, final int sides) { Stroke old_stroke = g2.getStroke(); int x = bounds.x; int y = bounds.y; int w = bounds.width; int h = bounds....
private static void paintPatternedRect(final Graphics2D g2, final Rectangle bounds, final Border border, final BorderColor color, final float[] pattern, final int sides) { Stroke old_stroke = g2.getStroke(); int x = bounds.x; int y = bounds.y; int w = bounds.width; int h = bounds....
30,331
private static void paintPatternedRect(final Graphics2D g2, final Rectangle bounds, final Border border, final BorderColor color, final float[] pattern, final int sides) { Stroke old_stroke = g2.getStroke(); int x = bounds.x; int y = bounds.y; int w = bounds.width; int h = bounds....
private static void paintPatternedRect(final Graphics2D g2, final Rectangle bounds, final Border border, final BorderColor color, final float[] pattern, final int sides) { Stroke old_stroke = g2.getStroke(); int x = bounds.x; int y = bounds.y; int w = bounds.width; int h = bounds....
30,332
private static void paintPatternedRect(final Graphics2D g2, final Rectangle bounds, final Border border, final BorderColor color, final float[] pattern, final int sides) { Stroke old_stroke = g2.getStroke(); int x = bounds.x; int y = bounds.y; int w = bounds.width; int h = bounds....
private static void paintPatternedRect(final Graphics2D g2, final Rectangle bounds, final Border border, final BorderColor color, final float[] pattern, final int sides) { Stroke old_stroke = g2.getStroke(); int x = bounds.x; int y = bounds.y; int w = bounds.width; int h = bounds....
30,333
private static void paintPatternedRect(final Graphics2D g2, final Rectangle bounds, final Border border, final BorderColor color, final float[] pattern, final int sides) { Stroke old_stroke = g2.getStroke(); int x = bounds.x; int y = bounds.y; int w = bounds.width; int h = bounds....
private static void paintPatternedRect(final Graphics2D g2, final Rectangle bounds, final Border border, final BorderColor color, final float[] pattern, final int sides) { Stroke old_stroke = g2.getStroke(); int x = bounds.x; int y = bounds.y; int w = bounds.width; int h = bounds....
30,334
private static void paintSolid(final Graphics g, final Rectangle bounds, final Border border, final BorderColor color, final int sides) { int rightCorner = (((sides & RIGHT) == RIGHT) ? border.right : 1); int leftCorner = (((sides & LEFT) == LEFT) ? border.left - 1 : 0);//adjust for bug in polygon fil...
private static void paintSolid(final Graphics g, final Rectangle bounds, final Border border, final BorderColor color, final int sides, int currentSide) { int rightCorner = (((sides & RIGHT) == RIGHT) ? border.right : 1); int leftCorner = (((sides & LEFT) == LEFT) ? border.left - 1 : 0);//adjust for b...
30,336
private static void paintSolid(final Graphics g, final Rectangle bounds, final Border border, final BorderColor color, final int sides) { int rightCorner = (((sides & RIGHT) == RIGHT) ? border.right : 1); int leftCorner = (((sides & LEFT) == LEFT) ? border.left - 1 : 0);//adjust for bug in polygon fil...
private static void paintSolid(final Graphics g, final Rectangle bounds, final Border border, final BorderColor color, final int sides) { int rightCorner = (((sides & RIGHT) == RIGHT) ? border.right : 1); int leftCorner = (((sides & LEFT) == LEFT) ? border.left - 1 : 0);//adjust for bug in polygon fil...
30,337
private static void paintSolid(final Graphics g, final Rectangle bounds, final Border border, final BorderColor color, final int sides) { int rightCorner = (((sides & RIGHT) == RIGHT) ? border.right : 1); int leftCorner = (((sides & LEFT) == LEFT) ? border.left - 1 : 0);//adjust for bug in polygon fil...
private static void paintSolid(final Graphics g, final Rectangle bounds, final Border border, final BorderColor color, final int sides) { int rightCorner = (((sides & RIGHT) == RIGHT) ? border.right : 1); int leftCorner = (((sides & LEFT) == LEFT) ? border.left - 1 : 0);//adjust for bug in polygon fil...
30,338
private static void paintSolid(final Graphics g, final Rectangle bounds, final Border border, final BorderColor color, final int sides) { int rightCorner = (((sides & RIGHT) == RIGHT) ? border.right : 1); int leftCorner = (((sides & LEFT) == LEFT) ? border.left - 1 : 0);//adjust for bug in polygon fil...
private static void paintSolid(final Graphics g, final Rectangle bounds, final Border border, final BorderColor color, final int sides) { int rightCorner = (((sides & RIGHT) == RIGHT) ? border.right : 1); int leftCorner = (((sides & LEFT) == LEFT) ? border.left - 1 : 0);//adjust for bug in polygon fil...
30,339
private static void paintSolid(final Graphics g, final Rectangle bounds, final Border border, final BorderColor color, final int sides) { int rightCorner = (((sides & RIGHT) == RIGHT) ? border.right : 1); int leftCorner = (((sides & LEFT) == LEFT) ? border.left - 1 : 0);//adjust for bug in polygon fil...
private static void paintSolid(final Graphics g, final Rectangle bounds, final Border border, final BorderColor color, final int sides) { int rightCorner = (((sides & RIGHT) == RIGHT) ? border.right : 1); int leftCorner = (((sides & LEFT) == LEFT) ? border.left - 1 : 0);//adjust for bug in polygon fil...
30,340
public static ComponentUI createUI(final JComponent c) { return new BasicButtonUI(); }
public static ComponentUI createUI(final JComponent c) { return new BasicButtonUI(); }
30,341
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) ...
30,342
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); }
30,343
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...
30,344
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; maybeUpdateLayoutState(); ListCellRenderer render = list.getCellRenderer(); ListModel model = list.getModel(); ListSelectionModel sel = list.getSelectionModel(); int lead = sel.getLeadSelectionIndex(); paintBackground(g, list); List...
30,345
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...
30,346
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); }
30,347
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 ...
30,348
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...
30,350
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...
30,351
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...
30,352
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...
30,353
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...
30,354
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...
30,355
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))); ...
30,356
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...
30,357
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...
30,358
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...
30,359
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...
30,360
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...
30,361
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)) ...
30,362
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)) ...
30,363
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)) ...
30,364
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)) ...
30,365
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)) ...
30,366
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)) ...
30,367
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)) ...
30,368
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)) ...
30,369
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)) ...
30,370
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) ...
30,372
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(fals...
30,373
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) ...
30,374
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) ...
30,375
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...
30,376
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(fa...
30,377
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...
30,378
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...
30,379
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...
30,380
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...
30,381
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()...
30,382
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); }
30,383
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)...
30,385
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...
30,386
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...
30,387
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; }
30,388
public Locale getLocale() { return Locale.getDefault(); }
public Locale getLocale() { return null; }
30,389
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 ); } ...
30,390
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...
30,391
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); ...
30,392
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...
30,393
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...
30,394
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...
30,395
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...
30,396
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...
30,397
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, ...
30,398
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 ...
30,399
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 + "...
30,400
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 ...
30,401
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(); ...
30,402
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; }
30,403
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()...
30,404
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)...
30,405
public void setComponent(Component c) { remove(component); this.component = c; add(c); }
public void setComponent(Component c) { remove(component); this.component = c; add(c); }
30,406
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 //...
30,407
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); }
30,408
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); }
30,409
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); }
30,410
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; }
30,412