bugged stringlengths 6 599k | fixed stringlengths 6 40.8M | __index_level_0__ int64 0 3.24M |
|---|---|---|
public void setSessionContext(SessionContext context) { WorkflowContext workflowContext = (WorkflowContext) loadObject(getPersistenceProperties().getProperty("workflowContext", "com.opensymphony.workflow.ejb.EJBWorkflowContext")); if (workflowContext instanceof EJBWorkflowContext) { ((EJBWo... | public void setSessionContext(SessionContext context) { WorkflowContext workflowContext = null; try { workflowContext = (WorkflowContext) ClassLoaderUtil.loadClass(getPersistenceProperties().getProperty("workflowContext", "com.opensymphony.workflow.ejb.EJBWorkflowContext"), getClass()).newInstance(); } catc... | 57,413 |
private void renderPagedView(Context c, Box box) { int pageCount = (int) (c.getMaxHeight() / c.getPageInfo().getContentHeight() + 1); setPreferredSize(new Dimension(c.getMaxWidth(), (int) (pageCount * c.getPageInfo().getContentHeight() + pageCount * c.getPageInfo().getMar... | private void renderPagedView(Context c, Box box) { int pageCount = getPageCount(c); setPreferredSize(new Dimension(c.getMaxWidth(), (int) (pageCount * c.getPageInfo().getContentHeight() + pageCount * c.getPageInfo().getMargins().top + pageCount + c.getPageI... | 57,414 |
public ConnectionDelegate createConnectionDelegate(String username, String password, String clientConnectionID) throws JMSException { return endpoint.createConnectionDelegate(username, password, clientConnectionID); } | public ConnectionDelegate createConnectionDelegate(String username, String password) throws JMSException { return endpoint.createConnectionDelegate(username, password, clientConnectionID); } | 57,415 |
public ConnectionDelegate createConnectionDelegate(String username, String password, String clientConnectionID) throws JMSException { return endpoint.createConnectionDelegate(username, password, clientConnectionID); } | public ConnectionDelegate createConnectionDelegate(String username, String password, String clientConnectionID) throws JMSException { return endpoint.createConnectionDelegate(username, password); } | 57,416 |
public void testJoin() throws Exception { // By this time, after running setUp(), we should have an already formed cluster of three // nodes (0, 1, 2). // TODO - verify this assertion // We start programatically the fourth node. ServerManagement.start("all", 3); // TODO - verify that ... | public void testJoin() throws Exception { // By this time, after running setUp(), we should have an already formed cluster of three // nodes (0, 1, 2). // TODO - verify this assertion // We start programatically the fourth node. ServerManagement.start(4, "all"); // TODO - verify that ... | 57,417 |
public void testLeaveAndJoin() throws Exception { // By this time, after running setUp(), we should have an already formed cluster of three // nodes (0, 1, 2). // TODO - verify this assertion // We get the first node to programatically leave the cluster ServerManagement.stop(0); // TO... | public void testLeaveAndJoin() throws Exception { // By this time, after running setUp(), we should have an already formed cluster of three // nodes (0, 1, 2). // TODO - verify this assertion // We get the first node to programatically leave the cluster ServerManagement.stop(0); // TO... | 57,418 |
public ConsumerDelegate createConsumerDelegate(Destination jmsDestination, String selector, boolean noLocal, String subscriptionName) throws JMSException { if ("".e... | public ConsumerDelegate createConsumerDelegate(Destination jmsDestination, String selector, boolean noLocal, String subscriptionName) throws JMSException { if ("".e... | 57,419 |
public ConsumerDelegate createConsumerDelegate(Destination jmsDestination, String selector, boolean noLocal, String subscriptionName) throws JMSException { if ("".e... | public ConsumerDelegate createConsumerDelegate(Destination jmsDestination, String selector, boolean noLocal, String subscriptionName) throws JMSException { if ("".e... | 57,420 |
protected int getNextEastWestVisualPositionFrom(int pos, Position.Bias b, Shape a, int direction, Position.Bias[] biasRet) throws BadLocationException { // FIXME: Implement this correctly. return pos; } | int index; View v = null; switch (direction) { case EAST: index = getViewIndex(pos + 1, b); if (index == -1) return pos; v = getView(index); break; case WEST: index = getViewIndex(pos - 1, b); if (index == -1) int index; View v = null; switch (direction) { case EAST: index = ge... | 57,422 |
protected int getNextNorthSouthVisualPositionFrom(int pos, Position.Bias b, Shape a, int direction, Position.Bias[] biasRet) throws BadLocationException { // FIXME: Implement this correctly. return pos; } | int index = getViewIndex(pos, b); View v = null; if (index == -1) int index = getViewIndex(pos, b); View v = null; if (index == -1) protected int index = getViewIndex(pos, b); View v = null; if (index == -1) int int index = getViewIndex(pos, b); View v = ... | 57,424 |
protected void loadChildren(ViewFactory f) { Element el = getElement(); int count = el.getElementCount(); children = new View[count]; for (int i = 0; i < count; ++i) { Element child = el.getElement(i); View view = f.create(child); children[i] = view; } } | protected void loadChildren(ViewFactory f) { Element el = getElement(); int count = el.getElementCount(); View[] newChildren = new View[count]; for (int i = 0; i < count; ++i) { Element child = el.getElement(i); View view = f.create(child); children[i] = view; } } | 57,426 |
protected void loadChildren(ViewFactory f) { Element el = getElement(); int count = el.getElementCount(); children = new View[count]; for (int i = 0; i < count; ++i) { Element child = el.getElement(i); View view = f.create(child); children[i] = view; } } | protected void loadChildren(ViewFactory f) { Element el = getElement(); int count = el.getElementCount(); children = new View[count]; for (int i = 0; i < count; ++i) { Element child = el.getElement(i); View view = f.create(child); newChildren[i] = view; } } | 57,427 |
public Shape modelToView(int pos, Shape a, Position.Bias bias) throws BadLocationException { int childIndex = getViewIndex(pos, bias); View child = children[childIndex]; return child.modelToView(pos, a, bias); } | public Shape modelToView(int pos, Shape a, Position.Bias bias) throws BadLocationException { int childIndex = getViewIndex(pos, bias); View child = children[childIndex]; return child.modelToView(pos, a, bias); } | 57,429 |
public void setParent(View parent) { super.setParent(parent); if ((children == null) || children.length == 0) loadChildren(getViewFactory()); } | public void setParent(View parent) { super.setParent(parent); if (parent != null && ((children == null) || children.length == 0)) loadChildren(getViewFactory()); } | 57,431 |
public int viewToModel(float x, float y, Shape a, Position.Bias b) { Rectangle r = getInsideAllocation(a); View view = getViewAtPoint((int) x, (int) y, r); return view.viewToModel(x, y, a, b); } | public int viewToModel(float x, float y, Shape a, Position.Bias[] b) { Rectangle r = getInsideAllocation(a); View view = getViewAtPoint((int) x, (int) y, r); return view.viewToModel(x, y, a, b); } | 57,432 |
public SwingListPeer(SwingToolkit toolkit, final List list) { super(toolkit, list, new SwingList(list)); final JList jList = (JList)jComponent; SwingToolkit.add(list, jList); SwingToolkit.copyAwtProperties(list, jList); final ListModel model = new AbstractListModel() { public Object getElementAt(int... | public SwingListPeer(SwingToolkit toolkit, final List list) { super(toolkit, list, new SwingList(list)); final JList jList = (JList)jComponent; SwingToolkit.add(list, jList); SwingToolkit.copyAwtProperties(list, jList); final ListModel model = new AbstractListModel() { public Object getElementAt(int... | 57,434 |
public SwingListPeer(SwingToolkit toolkit, final List list) { super(toolkit, list, new SwingList(list)); final JList jList = (JList)jComponent; SwingToolkit.add(list, jList); SwingToolkit.copyAwtProperties(list, jList); final ListModel model = new AbstractListModel() { public Object getElementAt(int... | public SwingListPeer(SwingToolkit toolkit, final List list) { super(toolkit, list, new SwingList(list)); final JList jList = (JList)jComponent; SwingToolkit.add(list, jList); SwingToolkit.copyAwtProperties(list, jList); final ListModel model = new AbstractListModel() { public Object getElementAt(int... | 57,435 |
private void configureAddress() { String s = System.getProperty("test.bind.address"); if (s == null) { ipAddressOrHostName = "localhost"; } else { ipAddressOrHostName = s; } log.debug("all server sockets will be open on address: " + ipAddressOrHostName); } | private void configureAddress() throws Exception { String s = System.getProperty("test.bind.address"); if (s == null) { ipAddressOrHostName = "localhost"; } else { ipAddressOrHostName = s; } log.debug("all server sockets will be open on address: " + ipAddress... | 57,436 |
private void configureAddress() { String s = System.getProperty("test.bind.address"); if (s == null) { ipAddressOrHostName = "localhost"; } else { ipAddressOrHostName = s; } log.debug("all server sockets will be open on address: " + ipAddressOrHostName); } | private void configureAddress() { String s = System.getProperty("test.bind.address"); if (s == null) { ipAddressOrHostName = "localhost"; } else { ipAddressOrHostName = s; } log.debug("all server sockets will be open on address: " + ipAddressOrHostName); } | 57,437 |
private void configureAddress() { String s = System.getProperty("test.bind.address"); if (s == null) { ipAddressOrHostName = "localhost"; } else { ipAddressOrHostName = s; } log.debug("all server sockets will be open on address: " + ipAddressOrHostName); } | private void configureAddress() { String s = System.getProperty("test.bind.address"); if (s == null) { ipAddressOrHostName = "localhost"; } else { ipAddressOrHostName = s; } log.debug("all server sockets will be open on address: " + ipAddressOrHostName); } | 57,438 |
private void parseConfig(String config) { config = config.toLowerCase(); for (StringTokenizer st = new StringTokenizer(config, ", "); st.hasMoreTokens(); ) { String tok = st.nextToken(); boolean minus = false; if (tok.startsWith("-")) { tok = tok.substring(... | private void parseConfig(String config) { config = config.toLowerCase(); for (StringTokenizer st = new StringTokenizer(config, ", "); st.hasMoreTokens(); ) { String tok = st.nextToken(); boolean minus = false; if (tok.startsWith("-")) { tok = tok.substring(... | 57,439 |
private void parseConfig(String config) { config = config.toLowerCase(); for (StringTokenizer st = new StringTokenizer(config, ", "); st.hasMoreTokens(); ) { String tok = st.nextToken(); boolean minus = false; if (tok.startsWith("-")) { tok = tok.substring(... | private void parseConfig(String config) { config = config.toLowerCase(); for (StringTokenizer st = new StringTokenizer(config, ", "); st.hasMoreTokens(); ) { String tok = st.nextToken(); boolean minus = false; if (tok.startsWith("-")) { tok = tok.substring(... | 57,440 |
private void parseConfig(String config) { config = config.toLowerCase(); for (StringTokenizer st = new StringTokenizer(config, ", "); st.hasMoreTokens(); ) { String tok = st.nextToken(); boolean minus = false; if (tok.startsWith("-")) { tok = tok.substring(... | private void parseConfig(String config) { config = config.toLowerCase(); for (StringTokenizer st = new StringTokenizer(config, ", "); st.hasMoreTokens(); ) { String tok = st.nextToken(); boolean minus = false; if (tok.startsWith("-")) { tok = tok.substring(... | 57,441 |
public void start() throws Exception { try { configureAddress(); toUnbindAtExit.clear(); jndiNamingFactory = System.getProperty("java.naming.factory.initial"); //TODO: need to think more about this; if I don't do it, though, bind() fails because it tries to use "java.namin... | public void start() throws Exception { try { configureAddress(); toUnbindAtExit.clear(); jndiNamingFactory = System.getProperty("java.naming.factory.initial"); //TODO: need to think more about this; if I don't do it, though, bind() fails because it tries to use "java.namin... | 57,442 |
public void start() throws Exception { try { configureAddress(); toUnbindAtExit.clear(); jndiNamingFactory = System.getProperty("java.naming.factory.initial"); //TODO: need to think more about this; if I don't do it, though, bind() fails because it tries to use "java.namin... | public void start() throws Exception { try { configureAddress(); toUnbindAtExit.clear(); jndiNamingFactory = System.getProperty("java.naming.factory.initial"); //TODO: need to think more about this; if I don't do it, though, bind() fails because it tries to use "java.namin... | 57,443 |
public void start() throws Exception { try { configureAddress(); toUnbindAtExit.clear(); jndiNamingFactory = System.getProperty("java.naming.factory.initial"); //TODO: need to think more about this; if I don't do it, though, bind() fails because it tries to use "java.namin... | if (remotingMultiplex) { startRemoting(true); } if (remotingMultiplex) { startRemoting(true); } if (remotingMultiplex) { startRemoting(true); } publicif (remotingMultiplex) { startRemoting(true); } voidif (remotingMultiplex) { startRemoting(true); } start()if (remotingMultiplex) { startRemoting(true); } throwsif (remot... | 57,444 |
private void startRemoting() throws Exception { RemotingJMXWrapper mbean = new RemotingJMXWrapper(new InvokerLocator("socket://" + ipAddressOrHostName + ":19895")); mbeanServer.registerMBean(mbean, REMOTING_OBJECT_NAME); mbeanServer.invoke(REMOTING_OBJECT_NAME, "start", new Object[0], new... | private void startRemoting(boolean multiplex) throws Exception { RemotingJMXWrapper mbean = new RemotingJMXWrapper(new InvokerLocator("socket://" + ipAddressOrHostName + ":19895")); mbeanServer.registerMBean(mbean, REMOTING_OBJECT_NAME); mbeanServer.invoke(REMOTING_OBJECT_NAME, "start", n... | 57,445 |
private void startRemoting() throws Exception { RemotingJMXWrapper mbean = new RemotingJMXWrapper(new InvokerLocator("socket://" + ipAddressOrHostName + ":19895")); mbeanServer.registerMBean(mbean, REMOTING_OBJECT_NAME); mbeanServer.invoke(REMOTING_OBJECT_NAME, "start", new Object[0], new... | private void startRemoting() throws Exception { RemotingJMXWrapper mbean = new RemotingJMXWrapper(new InvokerLocator("socket://" + ipAddressOrHostName + ":19895")); mbeanServer.registerMBean(mbean, REMOTING_OBJECT_NAME); mbeanServer.invoke(REMOTING_OBJECT_NAME, "start", new Object[0], new... | 57,446 |
public void addSelectionInterval(int index0, int index1) { if (index0 == -1 || index1 == -1) return; int lo = Math.min(index0, index1); int hi = Math.max(index0, index1); oldSel = sel.clone(); if (selectionMode == SINGLE_SELECTION) setSelectionInterval(index0, index1); // COMPAT: Lik... | public void addSelectionInterval(int index0, int index1) { if (index0 == -1 || index1 == -1) return; int lo = Math.min(index0, index1); int hi = Math.max(index0, index1); oldSel = sel.clone(); if (selectionMode == SINGLE_SELECTION) setSelectionInterval(index0, index1); // COMPAT: Lik... | 57,447 |
public void clearSelection() { oldSel = sel.clone(); int sz = sel.size(); sel.clear(); if (sel.equals(oldSel) == false) fireValueChanged(0, sz, valueIsAdjusting); } | public void clearSelection() { oldSel = sel.clone(); int sz = sel.size(); sel.clear(); if (sel.equals(oldSel) == false) fireValueChanged(0, sz, valueIsAdjusting); } | 57,448 |
public void removeSelectionInterval(int index0, int index1) { if (index0 == -1 || index1 == -1) return; oldSel = sel.clone(); int lo = Math.min(index0, index1); int hi = Math.max(index0, index1); // if selectionMode is SINGLE_INTERVAL_SELECTION and rem... | public void removeSelectionInterval(int index0, int index1) { if (index0 == -1 || index1 == -1) return; oldSel = sel.clone(); int lo = Math.min(index0, index1); int hi = Math.max(index0, index1); // if selectionMode is SINGLE_INTERVAL_SELECTION and rem... | 57,449 |
public void setLeadSelectionIndex(int leadIndex) { // Only set the lead selection index to < 0 if anchorSelectionIndex < 0. if (leadIndex < 0) { if (anchorSelectionIndex < 0) leadSelectionIndex = -1; else return; } // Only touch the lead selection index if the ancho... | public void setLeadSelectionIndex(int leadIndex) { // Only set the lead selection index to < 0 if anchorSelectionIndex < 0. if (leadIndex < 0) { if (anchorSelectionIndex < 0) leadSelectionIndex = -1; else return; } // Only touch the lead selection index if the ancho... | 57,450 |
public void setSelectionInterval(int index0, int index1) { if (index0 == -1 || index1 == -1) return; oldSel = sel.clone(); sel.clear(); if (selectionMode == SINGLE_SELECTION) index0 = index1; int lo = Math.min(index0, index1); int hi = Math.max(index0, index1); sel.set(lo, hi+1); ... | public void setSelectionInterval(int index0, int index1) { if (index0 == -1 || index1 == -1) return; BitSet oldSel = (BitSet) sel.clone(); sel.clear(); if (selectionMode == SINGLE_SELECTION) index0 = index1; int lo = Math.min(index0, index1); int hi = Math.max(index0, index1); sel.... | 57,451 |
public void setSelectionInterval(int index0, int index1) { if (index0 == -1 || index1 == -1) return; oldSel = sel.clone(); sel.clear(); if (selectionMode == SINGLE_SELECTION) index0 = index1; int lo = Math.min(index0, index1); int hi = Math.max(index0, index1); sel.set(lo, hi+1); ... | public void setSelectionInterval(int index0, int index1) { if (index0 == -1 || index1 == -1) return; oldSel = sel.clone(); sel.clear(); if (selectionMode == SINGLE_SELECTION) index0 = index1; int lo = Math.min(index0, index1); int hi = Math.max(index0, index1); sel.set(lo, hi+1); ... | 57,452 |
private static void processPageBreakAvoidRun(final LayoutContext c, final BlockBox block, List contentList, Boxing.StyleSetListener styleSetListener, int offset, RelayoutDataList relayoutDataList, RelayoutData relayoutData, BlockBox childBox) { if (offset > 0) { ... | private static void processPageBreakAvoidRun(final LayoutContext c, final BlockBox block, List contentList, Boxing.StyleSetListener styleSetListener, int offset, RelayoutDataList relayoutDataList, RelayoutData relayoutData, BlockBox childBox) { if (offset > 0) { ... | 57,454 |
public void tearDown() throws Exception { ServerManagement.undeployQueue("Queue"); ServerManagement.deInit(); super.tearDown(); } | public void tearDown() throws Exception { ServerManagement.undeployQueue("Queue"); super.tearDown(); } | 57,455 |
public ServerPeer(String serverPeerID) throws Exception { this.serverPeerID = serverPeerID; this.connFactoryDelegates = new HashMap(); // the default value to use, unless the JMX attribute is modified connector = new ObjectName("jboss.remoting:service=Connector,transport=socket"); ... | public ServerPeer(String serverPeerID) throws Exception { this.serverPeerID = serverPeerID; this.connFactoryDelegates = new HashMap(); // the default value to use, unless the JMX attribute is modified connectorName = new ObjectName("jboss.remoting:service=Connector,transport=socket"); ... | 57,456 |
public ObjectName getConnector() { return connector; } | public ObjectName getConnector() { return connectorName; } | 57,457 |
private void initializeRemoting() throws Exception { String s = (String)mbeanServer.invoke(connector, "getInvokerLocator", new Object[0], new String[0]); locator = new InvokerLocator(s); //Note - There seems to be a bug (feature?) in JBoss Remoting wh... | private void initializeRemoting() throws Exception { String s = (String)mbeanServer.invoke(connectorName, "getInvokerLocator", new Object[0], new String[0]); locator = new InvokerLocator(s); //Note - There seems to be a bug (feature?) in JBoss Remotin... | 57,458 |
private void initializeRemoting() throws Exception { String s = (String)mbeanServer.invoke(connector, "getInvokerLocator", new Object[0], new String[0]); locator = new InvokerLocator(s); //Note - There seems to be a bug (feature?) in JBoss Remoting wh... | private void initializeRemoting() throws Exception { String s = (String)mbeanServer.invoke(connector, "getInvokerLocator", new Object[0], new String[0]); locator = new InvokerLocator(s); //Note - There seems to be a bug (feature?) in JBoss Remoting wh... | 57,459 |
private void initializeRemoting() throws Exception { String s = (String)mbeanServer.invoke(connector, "getInvokerLocator", new Object[0], new String[0]); locator = new InvokerLocator(s); //Note - There seems to be a bug (feature?) in JBoss Remoting wh... | private void initializeRemoting() throws Exception { String s = (String)mbeanServer.invoke(connector, "getInvokerLocator", new Object[0], new String[0]); locator = new InvokerLocator(s); //Note - There seems to be a bug (feature?) in JBoss Remoting wh... | 57,460 |
public void setConnector(ObjectName on) { connector = on; } | public void setConnector(ObjectName on) { connectorName = on; } | 57,461 |
private ConnectionFactory setupConnectionFactory(String clientID) throws Exception { String id = genConnFactoryID(); ServerConnectionFactoryEndpoint endpoint = new ServerConnectionFactoryEndpoint(id, this, clientID); Dispatcher.singleton.registerTarget(id, endpoint); connFactoryDelegate... | private ConnectionFactory setupConnectionFactory(String clientID) throws Exception { String id = genConnFactoryID(); ServerConnectionFactoryEndpoint endpoint = new ServerConnectionFactoryEndpoint(id, this, clientID); Dispatcher.singleton.registerTarget(id, endpoint); connFactoryDelegate... | 57,462 |
public synchronized void stop() throws Exception { if (!started) { return; } unloadServerAOPConfig(); log.debug(this + " stopping"); tearDownConnectionFactories(); destinationManager.destroyAllDestinations(); pm = null; txRepository... | public synchronized void stop() throws Exception { if (!started) { return; } unloadServerAOPConfig(); log.debug(this + " stopping"); tearDownConnectionFactories(); destinationManager.destroyAllDestinations(); pm = null; txRepository... | 57,463 |
public void insertUpdate(DocumentEvent ev) { Dimension size = textComponent.getSize(); rootView.insertUpdate(ev, new Rectangle(0, 0, size.width, size.height), rootView.getViewFactory()); int caretPos = textComponent.getCaretPosition(); if (caretPos >= ev.getOffset()... | public void insertUpdate(DocumentEvent ev) { Dimension size = textComponent.getSize(); rootView.insertUpdate(ev, new Rectangle(0, 0, size.width, size.height), rootView.getViewFactory()); int caretPos = textComponent.getCaretPosition(); if (caretPos >= ev.getOffset()... | 57,465 |
public void removeUpdate(DocumentEvent ev) { Dimension size = textComponent.getSize(); rootView.removeUpdate(ev, new Rectangle(0, 0, size.width, size.height), rootView.getViewFactory()); int caretPos = textComponent.getCaretPosition(); if (caretPos >= ev.getOffset()... | public void removeUpdate(DocumentEvent ev) { Dimension size = textComponent.getSize(); rootView.removeUpdate(ev, new Rectangle(0, 0, size.width, size.height), rootView.getViewFactory()); int caretPos = textComponent.getCaretPosition(); if (caretPos >= ev.getOffset()... | 57,466 |
public int getCrossFeedResolution(int units) { if (units < 1) throw new IllegalArgumentException("units may not be less then 1"); return (crossFeedResolution + units) / units; } | public int getCrossFeedResolution(int units) { if (units < 1) throw new IllegalArgumentException("units may not be less then 1"); return crossFeedResolution / units; } | 57,467 |
public int getFeedResolution(int units) { if (units < 1) throw new IllegalArgumentException("units may not be less then 1"); return (crossFeedResolution + units) / units; } | public int getFeedResolution(int units) { if (units < 1) throw new IllegalArgumentException("units may not be less then 1"); return feedResolution / units; } | 57,468 |
public void paint(Graphics gfx, JComponent c) { TableColumnModel cmod = header.getColumnModel(); int ncols = cmod.getColumnCount(); if (ncols == 0) return; Rectangle clip = gfx.getClipBounds(); TableCellRenderer defaultRend = header.getDefaultRenderer(); for (int i = 0; i < ncols; ++i) ... | public void paint(Graphics gfx, JComponent c) { TableColumnModel cmod = header.getColumnModel(); int ncols = cmod.getColumnCount(); if (ncols == 0) return; Rectangle clip = gfx.getClipBounds(); TableCellRenderer defaultRend = header.getDefaultRenderer(); for (int i = 0; i < ncols; ++i) ... | 57,470 |
public ResolvedModuleRevision findModuleInCache(ModuleRevisionId mrid, File cache, boolean validate) { // first, check if it is in cache if (mrid.isExactRevision()) { File ivyFile = getIvyFileInCache(cache, mrid); if (ivyFile.exists()) { // found in cache ! ... | public ResolvedModuleRevision findModuleInCache(ModuleRevisionId mrid, File cache, boolean validate) { // first, check if it is in cache if (mrid.isExactRevision()) { File ivyFile = getIvyFileInCache(cache, mrid); if (ivyFile.exists()) { // found in cache ! ... | 57,471 |
public Class getCategory() { return ReferenceUriSchemesSupported.class; } | public final Class getCategory() { return ReferenceUriSchemesSupported.class; } | 57,472 |
public String getName() { return "reference-uri-schemes-supported"; } | public final String getName() { return "reference-uri-schemes-supported"; } | 57,473 |
public static Box generateAbsoluteBox(Context c, Content content) { //Uu.p("generate absolute block inline box: avail = " + content); Rectangle oe = c.getExtents();// copy the extents for safety c.setExtents(new Rectangle(oe)); Box box = Boxing.layout(c, content); //Uu.p("got a bl... | public static Box generateAbsoluteBox(Context c, Content content) { //Uu.p("generate absolute block inline box: avail = " + content); Rectangle oe = c.getExtents();// copy the extents for safety c.setExtents(new Rectangle(oe)); Box box = Boxing.layout(c, content); //Uu.p("got a bl... | 57,474 |
public static void setupAbsolute(Box box, Context c) { //Uu.p("setting up an abs for box: " +box); CalculatedStyle style = c.getCurrentStyle(); if (style.isIdent(CSSName.POSITION, IdentValue.ABSOLUTE)) { //Uu.p("is absolute pos"); if (!style.isIdent(CSSName.RIGHT, IdentVal... | public static void setupAbsolute(Box box, Context c) { //Uu.p("setting up an abs for box: " +box); CalculatedStyle style = c.getCurrentStyle(); if (style.isIdent(CSSName.POSITION, IdentValue.ABSOLUTE)) { //Uu.p("is absolute pos"); if (!style.isIdent(CSSName.RIGHT, IdentVal... | 57,475 |
public void execute() throws BuildException { Ivy ivy = getIvyInstance(); ensureResolved(isHaltonfailure()); _conf = getProperty(_conf, ivy, "ivy.resolved.configurations"); if (_conf.equals("*")) { _conf = getProperty(ivy, "ivy.resolved.configurations"); } _organ... | public void execute() throws BuildException { Ivy ivy = getIvyInstance(); _organisation = getProperty(_organisation, ivy, "ivy.organisation"); _module = getProperty(_module, ivy, "ivy.module"); ensureResolved(isHaltonfailure(), getOrganisation(), getModule()); _conf = getProperty(_conf, ivy,... | 57,476 |
public void execute() throws BuildException { Ivy ivy = getIvyInstance(); ensureResolved(isHaltonfailure()); _conf = getProperty(_conf, ivy, "ivy.resolved.configurations"); if (_conf.equals("*")) { _conf = getProperty(ivy, "ivy.resolved.configurations"); } _organ... | public void execute() throws BuildException { Ivy ivy = getIvyInstance(); ensureResolved(isHaltonfailure()); _conf = getProperty(_conf, ivy, "ivy.resolved.configurations"); if ("*".equals(_conf)) { _conf = getProperty(ivy, "ivy.resolved.configurations"); } _organ... | 57,477 |
private void checkRead() throws JMSException { if (bodyWriteOnly) { throw new MessageNotReadableException("readByte while the buffer is writeonly"); } // We have just received/reset() the message, and the client is trying to // read it if (istream == null || m == null) { ... | private void checkRead() throws JMSException { if (!bodyReadOnly) { throw new MessageNotReadableException("readByte while the buffer is writeonly"); } // We have just received/reset() the message, and the client is trying to // read it if (istream == null || m == null) { ... | 57,479 |
public void clearBody() throws JMSException { try { if (bodyWriteOnly) { ostream.close(); } else { // REVIEW: istream is only initialised on a read. // It looks like it is possible to acknowledge // a message without read... | public void clearBody() throws JMSException { try { if (!bodyReadOnly) { ostream.close(); } else { // REVIEW: istream is only initialised on a read. // It looks like it is possible to acknowledge // a message without read... | 57,480 |
public void clearBody() throws JMSException { try { if (bodyWriteOnly) { ostream.close(); } else { // REVIEW: istream is only initialised on a read. // It looks like it is possible to acknowledge // a message without read... | public void clearBody() throws JMSException { try { if (bodyWriteOnly) { ostream.close(); } else { // REVIEW: istream is only initialised on a read. // It looks like it is possible to acknowledge // a message without read... | 57,481 |
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException { super.readExternal(in); bodyWriteOnly = in.readBoolean(); int length = in.readInt(); if (length < 0) { payload = null; } else { payload = new byte[length]; in.readFu... | public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException { super.readExternal(in); int length = in.readInt(); if (length < 0) { payload = null; } else { payload = new byte[length]; in.readFully((byte[])payload); } } | 57,482 |
public void reset() throws JMSException { if (log.isTraceEnabled()) log.trace("reset()"); try { if (bodyWriteOnly) { if (log.isTraceEnabled()) { log.trace("Flushing ostream to array"); } p.flush(); payload = ostream.toByteArray(); if (log.... | public void reset() throws JMSException { if (log.isTraceEnabled()) log.trace("reset()"); try { if (!bodyReadOnly) { if (log.isTraceEnabled()) { log.trace("Flushing ostream to array"); } p.flush(); payload = ostream.toByteArray(); if (log.... | 57,483 |
public void reset() throws JMSException { if (log.isTraceEnabled()) log.trace("reset()"); try { if (bodyWriteOnly) { if (log.isTraceEnabled()) { log.trace("Flushing ostream to array"); } p.flush(); payload = ostream.toByteArray(); if (log.... | public void reset() throws JMSException { if (log.isTraceEnabled()) log.trace("reset()"); try { if (bodyWriteOnly) { if (log.isTraceEnabled()) { log.trace("Flushing ostream to array"); } p.flush(); payload = ostream.toByteArray(); if (log.... | 57,484 |
public void writeBoolean(boolean value) throws JMSException { if (!bodyWriteOnly) { throw new MessageNotWriteableException("the message body is read-only"); } try { p.writeBoolean(value); } catch (IOException e) { throw new JMSException("IOException")... | public void writeBoolean(boolean value) throws JMSException { if (bodyReadOnly) { throw new MessageNotWriteableException("the message body is read-only"); } try { p.writeBoolean(value); } catch (IOException e) { throw new JMSException("IOException"); ... | 57,485 |
public void writeByte(byte value) throws JMSException { if (!bodyWriteOnly) { throw new MessageNotWriteableException("the message body is read-only"); } try { p.writeByte(value); } catch (IOException e) { throw new JMSException("IOException"); } ... | public void writeByte(byte value) throws JMSException { if (bodyReadOnly) { throw new MessageNotWriteableException("the message body is read-only"); } try { p.writeByte(value); } catch (IOException e) { throw new JMSException("IOException"); } ... | 57,486 |
public void writeBytes(byte[] value) throws JMSException { if (!bodyWriteOnly) { throw new MessageNotWriteableException("the message body is read-only"); } try { p.write(value, 0, value.length); } catch (IOException e) { throw new JMSException("IOExce... | public void writeBytes(byte[] value) throws JMSException { if (bodyReadOnly) { throw new MessageNotWriteableException("the message body is read-only"); } try { p.write(value, 0, value.length); } catch (IOException e) { throw new JMSException("IOExcept... | 57,487 |
public void writeChar(char value) throws JMSException { if (!bodyWriteOnly) { throw new MessageNotWriteableException("the message body is read-only"); } try { p.writeChar(value); } catch (IOException e) { throw new JMSException("IOException"); } ... | public void writeChar(char value) throws JMSException { if (bodyReadOnly) { throw new MessageNotWriteableException("the message body is read-only"); } try { p.writeChar(value); } catch (IOException e) { throw new JMSException("IOException"); } ... | 57,488 |
public void writeDouble(double value) throws JMSException { if (!bodyWriteOnly) { throw new MessageNotWriteableException("the message body is read-only"); } try { p.writeDouble(value); } catch (IOException e) { throw new JMSException("IOException"); ... | public void writeDouble(double value) throws JMSException { if (bodyReadOnly) { throw new MessageNotWriteableException("the message body is read-only"); } try { p.writeDouble(value); } catch (IOException e) { throw new JMSException("IOException"); ... | 57,489 |
public void writeExternal(ObjectOutput out) throws IOException { byte[] arrayToSend = null; if (bodyWriteOnly) { p.flush(); arrayToSend = ostream.toByteArray(); } else { arrayToSend = (byte[])payload; } super.writeExternal(out); out.writeBo... | public void writeExternal(ObjectOutput out) throws IOException { byte[] arrayToSend = null; if (!bodyReadOnly) { p.flush(); arrayToSend = ostream.toByteArray(); } else { arrayToSend = (byte[])payload; } super.writeExternal(out); out.writeBo... | 57,490 |
public void writeExternal(ObjectOutput out) throws IOException { byte[] arrayToSend = null; if (bodyWriteOnly) { p.flush(); arrayToSend = ostream.toByteArray(); } else { arrayToSend = (byte[])payload; } super.writeExternal(out); out.writeBo... | public void writeExternal(ObjectOutput out) throws IOException { byte[] arrayToSend = null; if (bodyWriteOnly) { p.flush(); arrayToSend = ostream.toByteArray(); } else { arrayToSend = (byte[])payload; } super.writeExternal(out); if (ar... | 57,491 |
public void writeFloat(float value) throws JMSException { if (!bodyWriteOnly) { throw new MessageNotWriteableException("the message body is read-only"); } try { p.writeFloat(value); } catch (IOException e) { throw new JMSException("IOException"); ... | public void writeFloat(float value) throws JMSException { if (bodyReadOnly) { throw new MessageNotWriteableException("the message body is read-only"); } try { p.writeFloat(value); } catch (IOException e) { throw new JMSException("IOException"); }... | 57,492 |
public void writeInt(int value) throws JMSException { if (!bodyWriteOnly) { throw new MessageNotWriteableException("the message body is read-only"); } try { p.writeInt(value); } catch (IOException e) { throw new JMSException("IOException"); } } | public void writeInt(int value) throws JMSException { if (bodyReadOnly) { throw new MessageNotWriteableException("the message body is read-only"); } try { p.writeInt(value); } catch (IOException e) { throw new JMSException("IOException"); } } | 57,493 |
public void writeLong(long value) throws JMSException { if (!bodyWriteOnly) { throw new MessageNotWriteableException("the message body is read-only"); } try { p.writeLong(value); } catch (IOException e) { throw new JMSException("IOException"); } ... | public void writeLong(long value) throws JMSException { if (bodyReadOnly) { throw new MessageNotWriteableException("the message body is read-only"); } try { p.writeLong(value); } catch (IOException e) { throw new JMSException("IOException"); } ... | 57,494 |
public void writeObject(Object value) throws JMSException { if (!bodyWriteOnly) { throw new MessageNotWriteableException("the message body is read-only"); } try { if (value == null) { throw new NullPointerException("Attempt to write a new value"); ... | public void writeObject(Object value) throws JMSException { if (bodyReadOnly) { throw new MessageNotWriteableException("the message body is read-only"); } try { if (value == null) { throw new NullPointerException("Attempt to write a new value"); }... | 57,495 |
public void writeShort(short value) throws JMSException { if (!bodyWriteOnly) { throw new MessageNotWriteableException("the message body is read-only"); } try { p.writeShort(value); } catch (IOException e) { throw new JMSException("IOException"); ... | public void writeShort(short value) throws JMSException { if (bodyReadOnly) { throw new MessageNotWriteableException("the message body is read-only"); } try { p.writeShort(value); } catch (IOException e) { throw new JMSException("IOException"); }... | 57,496 |
public void writeUTF(String value) throws JMSException { if (!bodyWriteOnly) { throw new MessageNotWriteableException("the message body is read-only"); } try { p.writeUTF(value); } catch (IOException e) { throw new JMSException("IOException"); } ... | public void writeUTF(String value) throws JMSException { if (bodyReadOnly) { throw new MessageNotWriteableException("the message body is read-only"); } try { p.writeUTF(value); } catch (IOException e) { throw new JMSException("IOException"); } ... | 57,497 |
public ServerSessionDelegate(String sessionID, ServerConnectionDelegate connectionEndpoint) { this.sessionID = sessionID; this.connectionEndpoint = connectionEndpoint; producers = new HashMap(); consumers = new HashMap(); browsers = new HashMap(); producerIDCounter = 0; consume... | public ServerSessionDelegate(String sessionID, ServerConnectionDelegate connectionEndpoint, int acknowledgmentMode) { this.sessionID = sessionID; this.connectionEndpoint = connectionEndpoint; producers = new HashMap(); consumers = new HashMap(); browsers = new HashMap(); producerIDC... | 57,499 |
public ConsumerDelegate createConsumerDelegate(Destination jmsDestination) throws JBossJMSException { // look-up destination DestinationManager dm = serverPeer.getDestinationManager(); AbstractDestination destination = null; try { destination = dm.getDestination(jmsDestinat... | public ConsumerDelegate createConsumerDelegate(Destination jmsDestination) throws JBossJMSException { // look-up destination DestinationManager dm = serverPeer.getDestinationManager(); AbstractDestination destination = null; try { destination = dm.getDestination(jmsDestinat... | 57,501 |
public void propertyChange(PropertyChangeEvent e) { // Only need to listen for indeterminate changes. // All other things are done on a repaint. if (e.getPropertyName().equals("inderterminate")) if (((Boolean) e.getNewValue()).booleanValue()) startAnimationTimer(); else stopAnimationTimer(); ... | public void propertyChange(PropertyChangeEvent e) { // Only need to listen for indeterminate changes. // All other things are done on a repaint. if (e.getPropertyName().equals("inderterminate")) if (((Boolean) e.getNewValue()).booleanValue()) startAnimationTimer(); else stopAnimationTimer(); ... | 57,504 |
public void propertyChange(PropertyChangeEvent e) { // Only need to listen for indeterminate changes. // All other things are done on a repaint. if (e.getPropertyName().equals("inderterminate")) if (((Boolean) e.getNewValue()).booleanValue()) startAnimationTimer(); else stopAnimationTimer(); ... | public void propertyChange(PropertyChangeEvent e) { // Only need to listen for indeterminate changes. // All other things are done on a repaint. if (e.getPropertyName().equals("inderterminate")) if (((Boolean) e.getNewValue()).booleanValue()) startAnimationTimer(); else stopAnimationTimer(); ... | 57,505 |
protected Rectangle getBox(Rectangle r) { if (!progressBar.isIndeterminate()) return null; //numFrames has to be an even number as defined by spec. int iterations = numFrames / 2 + 1; double boxDependent; double boxIndependent; if (progressBar.getOrientation() == JProgressBar.HORIZONTAL) ... | protected Rectangle getBox(Rectangle r) { if (!progressBar.isIndeterminate()) return null; //numFrames has to be an even number as defined by spec. int iterations = numFrames / 2 + 1; double boxDependent; double boxIndependent; if (progressBar.getOrientation() == JProgressBar.HORIZONTAL) ... | 57,506 |
protected Rectangle getBox(Rectangle r) { if (!progressBar.isIndeterminate()) return null; //numFrames has to be an even number as defined by spec. int iterations = numFrames / 2 + 1; double boxDependent; double boxIndependent; if (progressBar.getOrientation() == JProgressBar.HORIZONTAL) ... | protected Rectangle getBox(Rectangle r) { if (!progressBar.isIndeterminate()) return null; //numFrames has to be an even number as defined by spec. int iterations = numFrames / 2 + 1; double boxDependent; double boxIndependent; if (progressBar.getOrientation() == JProgressBar.HORIZONTAL) ... | 57,507 |
protected Rectangle getBox(Rectangle r) { if (!progressBar.isIndeterminate()) return null; //numFrames has to be an even number as defined by spec. int iterations = numFrames / 2 + 1; double boxDependent; double boxIndependent; if (progressBar.getOrientation() == JProgressBar.HORIZONTAL) ... | protected Rectangle getBox(Rectangle r) { if (!progressBar.isIndeterminate()) return null; //numFrames has to be an even number as defined by spec. int iterations = numFrames / 2 + 1; double boxDependent; double boxIndependent; if (progressBar.getOrientation() == JProgressBar.HORIZONTAL) ... | 57,508 |
protected Rectangle getBox(Rectangle r) { if (!progressBar.isIndeterminate()) return null; //numFrames has to be an even number as defined by spec. int iterations = numFrames / 2 + 1; double boxDependent; double boxIndependent; if (progressBar.getOrientation() == JProgressBar.HORIZONTAL) ... | protected Rectangle getBox(Rectangle r) { if (!progressBar.isIndeterminate()) return null; //numFrames has to be an even number as defined by spec. int iterations = numFrames / 2 + 1; double boxDependent; double boxIndependent; if (progressBar.getOrientation() == JProgressBar.HORIZONTAL) ... | 57,509 |
protected Rectangle getBox(Rectangle r) { if (!progressBar.isIndeterminate()) return null; //numFrames has to be an even number as defined by spec. int iterations = numFrames / 2 + 1; double boxDependent; double boxIndependent; if (progressBar.getOrientation() == JProgressBar.HORIZONTAL) ... | protected Rectangle getBox(Rectangle r) { if (!progressBar.isIndeterminate()) return null; //numFrames has to be an even number as defined by spec. int iterations = numFrames / 2 + 1; double boxDependent; double boxIndependent; if (progressBar.getOrientation() == JProgressBar.HORIZONTAL) ... | 57,510 |
public Dimension getMaximumSize(JComponent c) { return getPreferredSize(c); } | public Dimension getMaximumSize(JComponent c) { Insets insets = c.getInsets(); Dimension ret; int orientation = progressBar.getOrientation(); if (orientation == JProgressBar.VERTICAL) { ret = getPreferredInnerVertical(); ret.height = Short.MAX_VALUE; ret.width += insets.left + insets.right; } else { ret = getPref... | 57,511 |
public Dimension getMinimumSize(JComponent c) { return getPreferredSize(c); } | public Dimension getMinimumSize(JComponent c) { Insets insets = c.getInsets(); Dimension ret; int orientation = progressBar.getOrientation(); if (orientation == JProgressBar.VERTICAL) { ret = getPreferredInnerVertical(); ret.height = 10; ret.width += insets.left + insets.right; } else { ret = getPreferredInnerHor... | 57,512 |
protected Dimension getPreferredInnerHorizontal() { Rectangle vr = new Rectangle(); SwingUtilities.calculateInnerArea(progressBar, vr); return new Dimension(vr.width, vr.height); } | protected Dimension getPreferredInnerHorizontal() { Font font = progressBar.getFont(); FontMetrics fm = progressBar.getFontMetrics(font); SwingUtilities.calculateInnerArea(progressBar, vr); return new Dimension(vr.width, vr.height); } | 57,513 |
protected Dimension getPreferredInnerHorizontal() { Rectangle vr = new Rectangle(); SwingUtilities.calculateInnerArea(progressBar, vr); return new Dimension(vr.width, vr.height); } | protected Dimension getPreferredInnerHorizontal() { Rectangle vr = new Rectangle(); int stringWidth = 0; String str = progressBar.getString(); if (str != null) stringWidth = fm.stringWidth(progressBar.getString()); Insets i = progressBar.getInsets(); int prefWidth = Math.max(200 - i.left - i.right, stringWidth... | 57,514 |
protected Dimension getPreferredInnerHorizontal() { Rectangle vr = new Rectangle(); SwingUtilities.calculateInnerArea(progressBar, vr); return new Dimension(vr.width, vr.height); } | protected Dimension getPreferredInnerHorizontal() { Rectangle vr = new Rectangle(); SwingUtilities.calculateInnerArea(progressBar, vr); int stringHeight = 0; if (str != null) stringHeight = fm.getHeight(); int prefHeight = Math.max(16 - i.top - i.bottom, stringHeight); return new Dimension(prefWidth, prefH... | 57,515 |
protected Dimension getPreferredInnerVertical() { Rectangle vr = new Rectangle(); SwingUtilities.calculateInnerArea(progressBar, vr); return new Dimension(vr.width, vr.height); } | protected Dimension getPreferredInnerVertical() { Font font = progressBar.getFont(); FontMetrics fm = progressBar.getFontMetrics(font); SwingUtilities.calculateInnerArea(progressBar, vr); return new Dimension(vr.width, vr.height); } | 57,516 |
protected Dimension getPreferredInnerVertical() { Rectangle vr = new Rectangle(); SwingUtilities.calculateInnerArea(progressBar, vr); return new Dimension(vr.width, vr.height); } | protected Dimension getPreferredInnerVertical() { Rectangle vr = new Rectangle(); int stringWidth = 0; String str = progressBar.getString(); if (str != null) stringWidth = fm.stringWidth(progressBar.getString()); Insets i = progressBar.getInsets(); int prefHeight = Math.max(200 - i.left - i.right, stringWidth)... | 57,517 |
protected Dimension getPreferredInnerVertical() { Rectangle vr = new Rectangle(); SwingUtilities.calculateInnerArea(progressBar, vr); return new Dimension(vr.width, vr.height); } | protected Dimension getPreferredInnerVertical() { Rectangle vr = new Rectangle(); SwingUtilities.calculateInnerArea(progressBar, vr); int stringHeight = 0; if (str != null) stringHeight = fm.getHeight(); int prefWidth = Math.max(16 - i.top - i.bottom, stringHeight); return new Dimension(prefWidth, prefHeig... | 57,518 |
public Dimension getPreferredSize(JComponent c) { // The only thing we need to worry about is // the text size. Insets insets = c.getInsets(); // make a fontrenderer context so that we can make assumptions about // the string bounds FontRenderContext ctx = new FontRenderContext(new AffineTransform(... | public Dimension getPreferredSize(JComponent c){// The only thing we need to worry about is// the text size.Insets insets = c.getInsets();// make a fontrenderer context so that we can make assumptions about// the string boundsFontRenderContext ctx = new FontRenderContext(new AffineTransform(),false, false);Rectangle2D ... | 57,519 |
public Dimension getPreferredSize(JComponent c) { // The only thing we need to worry about is // the text size. Insets insets = c.getInsets(); // make a fontrenderer context so that we can make assumptions about // the string bounds FontRenderContext ctx = new FontRenderContext(new AffineTransform(... | public Dimension getPreferredSize(JComponent c) { // The only thing we need to worry about is // the text size. Insets insets = c.getInsets(); // make a fontrenderer context so that we can make assumptions about // the string bounds FontRenderContext ctx = new FontRenderContext(new AffineTransform(... | 57,520 |
public Dimension getPreferredSize(JComponent c) { // The only thing we need to worry about is // the text size. Insets insets = c.getInsets(); // make a fontrenderer context so that we can make assumptions about // the string bounds FontRenderContext ctx = new FontRenderContext(new AffineTransform(... | public Dimension getPreferredSize(JComponent c) { // The only thing we need to worry about is // the text size. Insets insets = c.getInsets(); // make a fontrenderer context so that we can make assumptions about // the string bounds FontRenderContext ctx = new FontRenderContext(new AffineTransform(... | 57,521 |
protected void paintDeterminate(Graphics g, JComponent c) { Color saved = g.getColor(); int space = getCellSpacing(); int len = getCellLength(); int max = progressBar.getMaximum(); int min = progressBar.getMinimum(); int value = progressBar.getValue(); Rectangle vr = new Rectangle(); SwingUti... | protected void paintDeterminate(Graphics g, JComponent c) { Color saved = g.getColor(); int space = getCellSpacing(); int len = getCellLength(); int max = progressBar.getMaximum(); int min = progressBar.getMinimum(); int value = progressBar.getValue(); Rectangle vr = new Rectangle(); SwingUti... | 57,524 |
protected void paintDeterminate(Graphics g, JComponent c) { Color saved = g.getColor(); int space = getCellSpacing(); int len = getCellLength(); int max = progressBar.getMaximum(); int min = progressBar.getMinimum(); int value = progressBar.getValue(); Rectangle vr = new Rectangle(); SwingUti... | protected void paintDeterminate(Graphics g, JComponent c) { Color saved = g.getColor(); int space = getCellSpacing(); int len = getCellLength(); int max = progressBar.getMaximum(); int min = progressBar.getMinimum(); int value = progressBar.getValue(); Rectangle vr = new Rectangle(); SwingUti... | 57,525 |
protected void paintDeterminate(Graphics g, JComponent c) { Color saved = g.getColor(); int space = getCellSpacing(); int len = getCellLength(); int max = progressBar.getMaximum(); int min = progressBar.getMinimum(); int value = progressBar.getValue(); Rectangle vr = new Rectangle(); SwingUti... | protected void paintDeterminate(Graphics g, JComponent c) { Color saved = g.getColor(); int space = getCellSpacing(); int len = getCellLength(); int max = progressBar.getMaximum(); int min = progressBar.getMinimum(); int value = progressBar.getValue(); Rectangle vr = new Rectangle(); SwingUti... | 57,526 |
protected void paintDeterminate(Graphics g, JComponent c) { Color saved = g.getColor(); int space = getCellSpacing(); int len = getCellLength(); int max = progressBar.getMaximum(); int min = progressBar.getMinimum(); int value = progressBar.getValue(); Rectangle vr = new Rectangle(); SwingUti... | protected void paintDeterminate(Graphics g, JComponent c) { Color saved = g.getColor(); int space = getCellSpacing(); int len = getCellLength(); int max = progressBar.getMaximum(); int min = progressBar.getMinimum(); int value = progressBar.getValue(); Rectangle vr = new Rectangle(); SwingUti... | 57,527 |
protected void paintDeterminate(Graphics g, JComponent c) { Color saved = g.getColor(); int space = getCellSpacing(); int len = getCellLength(); int max = progressBar.getMaximum(); int min = progressBar.getMinimum(); int value = progressBar.getValue(); Rectangle vr = new Rectangle(); SwingUti... | protected void paintDeterminate(Graphics g, JComponent c) { Color saved = g.getColor(); int space = getCellSpacing(); int len = getCellLength(); int max = progressBar.getMaximum(); int min = progressBar.getMinimum(); int value = progressBar.getValue(); Rectangle vr = new Rectangle(); SwingUti... | 57,528 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.