bugged stringlengths 6 599k | fixed stringlengths 6 40.8M | __index_level_0__ int64 0 3.24M |
|---|---|---|
private void doSerialize(final Node node, final OutputStream out, boolean convertToCdata) throws IOException { if (out == null) { throw new NullPointerException("no output stream"); } String value, prefix; Node children; String uri = node.getNamespaceURI(); boolean ... | private void doSerialize(final Node node, final OutputStream out, boolean convertToCdata) throws IOException if (out == null) throw new NullPointerException("no output stream"); } String value, prefix; Node children; String uri = node.getNamespaceURI(); boolean defi... | 14,785 |
private void doSerialize(final Node node, final OutputStream out, boolean convertToCdata) throws IOException { if (out == null) { throw new NullPointerException("no output stream"); } String value, prefix; Node children; String uri = node.getNamespaceURI(); boolean ... | private void doSerialize(final Node node, final OutputStream out, boolean convertToCdata) throws IOException { if (out == null) { throw new NullPointerException("no output stream"); String value, prefix; Node children; String uri = node.getNamespaceURI(); boolean de... | 14,786 |
private void doSerialize(final Node node, final OutputStream out, boolean convertToCdata) throws IOException { if (out == null) { throw new NullPointerException("no output stream"); } String value, prefix; Node children; String uri = node.getNamespaceURI(); boolean ... | htmlEncoded = true; } } htmlEncoded = true; } } privatehtmlEncoded = true; } } voidhtmlEncoded = true; } } doSerialize(finalhtmlEncoded = true; } } NodehtmlEncoded = true; } } node,htmlEncoded = true; } } finalhtmlEncoded = true; } } OutputStreamhtmlEncoded = true; } } out,htmlEncoded = true; } } htmlEncoded = true; } ... | 14,787 |
private void doSerialize(final Node node, final OutputStream out, boolean convertToCdata) throws IOException { if (out == null) { throw new NullPointerException("no output stream"); } String value, prefix; Node children; String uri = node.getNamespaceURI(); boolean ... | private void doSerialize(final Node node, final OutputStream out, boolean convertToCdata) throws IOException if (out == null) throw new NullPointerException("no output stream"); } String value, prefix; Node children; String uri = node.getNamespaceURI(); boolean defi... | 14,788 |
private void doSerialize(final Node node, final OutputStream out, boolean convertToCdata) throws IOException { if (out == null) { throw new NullPointerException("no output stream"); } String value, prefix; Node children; String uri = node.getNamespaceURI(); boolean ... | private void doSerialize(final Node node, final OutputStream out, boolean convertToCdata) throws IOException { if (out == null) { throw new NullPointerException("no output stream"); String value, prefix; Node children; String uri = node.getNamespaceURI(); boolean de... | 14,789 |
private void doSerialize(final Node node, final OutputStream out, boolean convertToCdata) throws IOException { if (out == null) { throw new NullPointerException("no output stream"); } String value, prefix; Node children; String uri = node.getNamespaceURI(); boolean ... | private void doSerialize(final Node node, final OutputStream out, boolean convertToCdata) throws IOException { if (out == null) { throw new NullPointerException("no output stream"); } String value, prefix; Node children; String uri = node.getNamespaceURI(); boolean ... | 14,790 |
String encode(String text, boolean encodeCtl, boolean inAttr) { int len = text.length(); StringBuffer buf = null; for (int i = 0; i < len; i++) { char c = text.charAt(i); if (c == '<') { if (buf == null) { buf = new StringBuffer(text.substri... | String encode(String text, boolean encodeCtl, boolean inAttr) int len = text.length(); StringBuffer buf = null; for (int i = 0; i < len; i++) char c = text.charAt(i); if (c == '<') if (buf == null) buf = new StringBuffer(text.substring(0, i)... | 14,791 |
String encode(String text, boolean encodeCtl, boolean inAttr) { int len = text.length(); StringBuffer buf = null; for (int i = 0; i < len; i++) { char c = text.charAt(i); if (c == '<') { if (buf == null) { buf = new StringBuffer(text.substri... | String encode(String text, boolean encodeCtl, boolean inAttr) { int len = text.length(); StringBuffer buf = null; for (int i = 0; i < len; i++) { char c = text.charAt(i); if (c == '<') { if (buf == null) { buf = new StringBuffer(text.substri... | 14,792 |
String encode(String text, boolean encodeCtl, boolean inAttr) { int len = text.length(); StringBuffer buf = null; for (int i = 0; i < len; i++) { char c = text.charAt(i); if (c == '<') { if (buf == null) { buf = new StringBuffer(text.substri... | String encode(String text, boolean encodeCtl, boolean inAttr) int len = text.length(); StringBuffer buf = null; for (int i = 0; i < len; i++) char c = text.charAt(i); if (c == '<') if (buf == null) buf = new StringBuffer(text.substring(0, i)... | 14,793 |
String encode(String text, boolean encodeCtl, boolean inAttr) { int len = text.length(); StringBuffer buf = null; for (int i = 0; i < len; i++) { char c = text.charAt(i); if (c == '<') { if (buf == null) { buf = new StringBuffer(text.substri... | String encode(String text, boolean encodeCtl, boolean inAttr) { int len = text.length(); StringBuffer buf = null; for (int i = 0; i < len; i++) { char c = text.charAt(i); if (c == '<') { if (buf == null) { buf = new StringBuffer(text.substri... | 14,794 |
String encode(String text, boolean encodeCtl, boolean inAttr) { int len = text.length(); StringBuffer buf = null; for (int i = 0; i < len; i++) { char c = text.charAt(i); if (c == '<') { if (buf == null) { buf = new StringBuffer(text.substri... | String encode(String text, boolean encodeCtl, boolean inAttr) int len = text.length(); StringBuffer buf = null; for (int i = 0; i < len; i++) char c = text.charAt(i); if (c == '<') if (buf == null) buf = new StringBuffer(text.substring(0, i)... | 14,795 |
String encode(String text, boolean encodeCtl, boolean inAttr) { int len = text.length(); StringBuffer buf = null; for (int i = 0; i < len; i++) { char c = text.charAt(i); if (c == '<') { if (buf == null) { buf = new StringBuffer(text.substri... | String encode(String text, boolean encodeCtl, boolean inAttr) { int len = text.length(); StringBuffer buf = null; for (int i = 0; i < len; i++) { char c = text.charAt(i); if (c == '<') { if (buf == null) { buf = new StringBuffer(text.substri... | 14,796 |
String encode(String text, boolean encodeCtl, boolean inAttr) { int len = text.length(); StringBuffer buf = null; for (int i = 0; i < len; i++) { char c = text.charAt(i); if (c == '<') { if (buf == null) { buf = new StringBuffer(text.substri... | String encode(String text, boolean encodeCtl, boolean inAttr) int len = text.length(); StringBuffer buf = null; for (int i = 0; i < len; i++) char c = text.charAt(i); if (c == '<') if (buf == null) buf = new StringBuffer(text.substring(0, i)... | 14,797 |
String encode(String text, boolean encodeCtl, boolean inAttr) { int len = text.length(); StringBuffer buf = null; for (int i = 0; i < len; i++) { char c = text.charAt(i); if (c == '<') { if (buf == null) { buf = new StringBuffer(text.substri... | String encode(String text, boolean encodeCtl, boolean inAttr) { int len = text.length(); StringBuffer buf = null; for (int i = 0; i < len; i++) { char c = text.charAt(i); if (c == '<') { if (buf == null) { buf = new StringBuffer(text.substri... | 14,798 |
String encode(String text, boolean encodeCtl, boolean inAttr) { int len = text.length(); StringBuffer buf = null; for (int i = 0; i < len; i++) { char c = text.charAt(i); if (c == '<') { if (buf == null) { buf = new StringBuffer(text.substri... | String encode(String text, boolean encodeCtl, boolean inAttr) int len = text.length(); StringBuffer buf = null; for (int i = 0; i < len; i++) char c = text.charAt(i); if (c == '<') if (buf == null) buf = new StringBuffer(text.substring(0, i)... | 14,799 |
String encode(String text, boolean encodeCtl, boolean inAttr) { int len = text.length(); StringBuffer buf = null; for (int i = 0; i < len; i++) { char c = text.charAt(i); if (c == '<') { if (buf == null) { buf = new StringBuffer(text.substri... | String encode(String text, boolean encodeCtl, boolean inAttr) { int len = text.length(); StringBuffer buf = null; for (int i = 0; i < len; i++) { char c = text.charAt(i); if (c == '<') { if (buf == null) { buf = new StringBuffer(text.substri... | 14,800 |
String encode(String text, boolean encodeCtl, boolean inAttr) { int len = text.length(); StringBuffer buf = null; for (int i = 0; i < len; i++) { char c = text.charAt(i); if (c == '<') { if (buf == null) { buf = new StringBuffer(text.substri... | String encode(String text, boolean encodeCtl, boolean inAttr) int len = text.length(); StringBuffer buf = null; for (int i = 0; i < len; i++) char c = text.charAt(i); if (c == '<') if (buf == null) buf = new StringBuffer(text.substring(0, i)... | 14,801 |
String encode(String text, boolean encodeCtl, boolean inAttr) { int len = text.length(); StringBuffer buf = null; for (int i = 0; i < len; i++) { char c = text.charAt(i); if (c == '<') { if (buf == null) { buf = new StringBuffer(text.substri... | String encode(String text, boolean encodeCtl, boolean inAttr) { int len = text.length(); StringBuffer buf = null; for (int i = 0; i < len; i++) { char c = text.charAt(i); if (c == '<') { if (buf == null) { buf = new StringBuffer(text.substri... | 14,802 |
String encode(String text, boolean encodeCtl, boolean inAttr) { int len = text.length(); StringBuffer buf = null; for (int i = 0; i < len; i++) { char c = text.charAt(i); if (c == '<') { if (buf == null) { buf = new StringBuffer(text.substri... | String encode(String text, boolean encodeCtl, boolean inAttr) int len = text.length(); StringBuffer buf = null; for (int i = 0; i < len; i++) char c = text.charAt(i); if (c == '<') if (buf == null) buf = new StringBuffer(text.substring(0, i)... | 14,803 |
String encode(String text, boolean encodeCtl, boolean inAttr) { int len = text.length(); StringBuffer buf = null; for (int i = 0; i < len; i++) { char c = text.charAt(i); if (c == '<') { if (buf == null) { buf = new StringBuffer(text.substri... | String encode(String text, boolean encodeCtl, boolean inAttr) { int len = text.length(); StringBuffer buf = null; for (int i = 0; i < len; i++) { char c = text.charAt(i); if (c == '<') { if (buf == null) { buf = new StringBuffer(text.substri... | 14,804 |
String encode(String text, boolean encodeCtl, boolean inAttr) { int len = text.length(); StringBuffer buf = null; for (int i = 0; i < len; i++) { char c = text.charAt(i); if (c == '<') { if (buf == null) { buf = new StringBuffer(text.substri... | String encode(String text, boolean encodeCtl, boolean inAttr) int len = text.length(); StringBuffer buf = null; for (int i = 0; i < len; i++) char c = text.charAt(i); if (c == '<') if (buf == null) buf = new StringBuffer(text.substring(0, i)... | 14,805 |
String encode(String text, boolean encodeCtl, boolean inAttr) { int len = text.length(); StringBuffer buf = null; for (int i = 0; i < len; i++) { char c = text.charAt(i); if (c == '<') { if (buf == null) { buf = new StringBuffer(text.substri... | String encode(String text, boolean encodeCtl, boolean inAttr) { int len = text.length(); StringBuffer buf = null; for (int i = 0; i < len; i++) { char c = text.charAt(i); if (c == '<') { if (buf == null) { buf = new StringBuffer(text.substri... | 14,806 |
String encode(String text, boolean encodeCtl, boolean inAttr) { int len = text.length(); StringBuffer buf = null; for (int i = 0; i < len; i++) { char c = text.charAt(i); if (c == '<') { if (buf == null) { buf = new StringBuffer(text.substri... | String encode(String text, boolean encodeCtl, boolean inAttr) int len = text.length(); StringBuffer buf = null; for (int i = 0; i < len; i++) char c = text.charAt(i); if (c == '<') if (buf == null) buf = new StringBuffer(text.substring(0, i)... | 14,807 |
String encode(String text, boolean encodeCtl, boolean inAttr) { int len = text.length(); StringBuffer buf = null; for (int i = 0; i < len; i++) { char c = text.charAt(i); if (c == '<') { if (buf == null) { buf = new StringBuffer(text.substri... | String encode(String text, boolean encodeCtl, boolean inAttr) { int len = text.length(); StringBuffer buf = null; for (int i = 0; i < len; i++) { char c = text.charAt(i); if (c == '<') { if (buf == null) { buf = new StringBuffer(text.substri... | 14,808 |
final byte[] encodeText(String text) throws IOException { encoder.reset(); if (!encoder.canEncode(text)) { // Check each character StringBuffer buf = new StringBuffer(); int len = text.length(); for (int i = 0; i < len; i++) { char c = text.charAt(i); ... | final byte[] encodeText(String text) throws IOException { encoder.reset(); boolean htmlNeedingEncoding = (mode == Stylesheet.OUTPUT_HTML && !htmlEncoded); if (!encoder.canEncode(text) || htmlNeedingEncoding) { // Check each character StringBuffer buf = new StringBuffer(); int len =... | 14,809 |
final byte[] encodeText(String text) throws IOException { encoder.reset(); if (!encoder.canEncode(text)) { // Check each character StringBuffer buf = new StringBuffer(); int len = text.length(); for (int i = 0; i < len; i++) { char c = text.charAt(i); ... | final byte[] encodeText(String text) throws IOException { encoder.reset(); if (!encoder.canEncode(text)) { // Check each character StringBuffer buf = new StringBuffer(); int len = text.length(); for (int i = 0; i < len; i++) { char c = text.charAt(i); ... | 14,810 |
boolean isDefined(String uri) { return XMLConstants.XML_NS_URI.equals(uri) || XMLConstants.XMLNS_ATTRIBUTE_NS_URI.equals(uri) || namespaces.containsKey(uri); } | boolean isDefined(String uri, String prefix) { return XMLConstants.XML_NS_URI.equals(uri) || XMLConstants.XMLNS_ATTRIBUTE_NS_URI.equals(uri) || namespaces.containsKey(uri); } | 14,812 |
boolean isDefined(String uri) { return XMLConstants.XML_NS_URI.equals(uri) || XMLConstants.XMLNS_ATTRIBUTE_NS_URI.equals(uri) || namespaces.containsKey(uri); } | boolean isDefined(String uri) { return XMLConstants.XML_NS_URI.equals(uri) || XMLConstants.XMLNS_ATTRIBUTE_NS_URI.equals(uri) || namespaces.containsKey(uri); } | 14,813 |
public String getNodeValue() throws DOMException; | public String getNodeValue() throws DOMException; | 14,814 |
public void setNodeValue(String nodeValue) throws DOMException; | public void setNodeValue(String nodeValue) throws DOMException; | 14,815 |
public void setHorizontalScrollBar(JScrollBar h) { if (horizontalScrollBar == h) return; JScrollBar old = horizontalScrollBar; removeNonNull(old); horizontalScrollBar = h; addNonNull(h, JScrollPane.HORIZONTAL_SCROLLBAR); firePropertyChange("horizontalScrollBar", old, h); sync(); if (old ... | public void setHorizontalScrollBar(JScrollBar h) { if (horizontalScrollBar == h) return; JScrollBar old = horizontalScrollBar; removeNonNull(old); horizontalScrollBar = h; addNonNull(h, JScrollPane.HORIZONTAL_SCROLLBAR); firePropertyChange("horizontalScrollBar", old, h); sync(); if (old ... | 14,816 |
public void setVerticalScrollBar(JScrollBar v) { if (verticalScrollBar == v) return; JScrollBar old = verticalScrollBar; removeNonNull(old); verticalScrollBar = v; addNonNull(v, JScrollPane.VERTICAL_SCROLLBAR); firePropertyChange("verticalScrollBar", old, v); sync(); if (old != null)... | public void setVerticalScrollBar(JScrollBar v) { if (verticalScrollBar == v) return; JScrollBar old = verticalScrollBar; removeNonNull(old); verticalScrollBar = v; addNonNull(v, JScrollPane.VERTICAL_SCROLLBAR); firePropertyChange("verticalScrollBar", old, v); sync(); if (old != null)... | 14,818 |
public void setViewport(JViewport v) { if (viewport == v) return; JViewport old = viewport; removeNonNull(old); if (old != null) old.removeChangeListener(scrollListener); viewport = v; if (v != null) v.addChangeListener(scrollListener); addNonNull(v, JScrollPane.VIEWPORT); ... | public void setViewport(JViewport v) { if (viewport == v) return; JViewport old = viewport; removeNonNull(old); if (old != null) old.removeChangeListener(scrollListener); viewport = v; if (v != null) v.addChangeListener(scrollListener); addNonNull(v, JScrollPane.VIEWPORT); ... | 14,820 |
public void setViewport(JViewport v) { if (viewport == v) return; JViewport old = viewport; removeNonNull(old); if (old != null) old.removeChangeListener(scrollListener); viewport = v; if (v != null) v.addChangeListener(scrollListener); addNonNull(v, JScrollPane.VIEWPORT); ... | public void setViewport(JViewport v) { if (viewport == v) return; JViewport old = viewport; removeNonNull(old); if (old != null) old.removeChangeListener(scrollListener); viewport = v; if (v != null) v.addChangeListener(scrollListener); addNonNull(v, JScrollPane.VIEWPORT); ... | 14,821 |
public Insets getBorderInsets(Component c); | public Insets getBorderInsets(Component c); | 14,822 |
protected void firePropertyChange(String propertyName, Object oldValue, Object newValue) { if (changeSupport != null) changeSupport.firePropertyChange(propertyName, oldValue, newValue); } | protected void firePropertyChange(String propertyName, Object oldValue, Object newValue) { if (changeSupport != null) changeSupport.firePropertyChange(propertyName, oldValue, newValue); } | 14,823 |
protected void firePropertyChange(String propertyName, Object oldValue, Object newValue) { if (changeSupport != null) changeSupport.firePropertyChange(propertyName, oldValue, newValue); } | protected void firePropertyChange(String propertyName, Object oldValue, Object newValue) { if (changeSupport != null) changeSupport.firePropertyChange(propertyName, oldValue, newValue); } | 14,824 |
public void addAttribute(Object name, Object value); | public void addAttribute(Object name, Object value); | 14,825 |
public void addAttributes(AttributeSet attributes); | public void addAttributes(AttributeSet attributes); | 14,826 |
public void removeAttribute(Object name); | public void removeAttribute(Object name); | 14,827 |
public void removeAttributes(AttributeSet attributes); | public void removeAttributes(AttributeSet attributes); | 14,828 |
public void setResolveParent(AttributeSet parent); | public void setResolveParent(AttributeSet parent); | 14,829 |
BadLocationException() { } | BadLocationException() { } | 14,830 |
public EventListener[] getListeners(Class c) { int count, f; EventListener[] result; count = getListenerCount(c); result = (EventListener[]) Array.newInstance(c, count); f = 0; for (int i = 0; i < listenerList.length; i += 2) if (listenerList[i] == c) result[f++] = (EventListener) liste... | public EventListener[] getListeners(Class c) { int count, f; EventListener[] result; count = getListenerCount(c); result = (EventListener[]) Array.newInstance(c, count); f = 0; for (int i = listenerList.length - 2; i >= 0; i -= 2) if (listenerList[i] == c) result[f++] = (EventListener) ... | 14,831 |
public InetAddress(byte[] ipaddr, String hostname) { this(ipaddr, hostname, null); } | public InetAddress(byte[] ipaddr, String hostname) { this(ipaddr, hostname, null); } | 14,832 |
public static InetAddress getByName(String hostname) throws UnknownHostException { // Default to current host if necessary if (hostname == null) return getLocalHost(); // First, check to see if it is an IP address. If so, then don't // do a DNS lookup. StringTokenizer s... | public static InetAddress getByName(String hostname) throws UnknownHostException { // Default to current host if necessary if (hostname == null) return getLocalHost(); // First, check to see if it is an IP address. If so, then don't // do a DNS lookup. StringTokenizer s... | 14,833 |
public UnknownHostException(String message) { super(message); } | public UnknownHostException() { super(message); } | 14,834 |
public UnknownHostException(String message) { super(message); } | public UnknownHostException(String message) { } | 14,835 |
Inet6Address(byte[] addr, String host) { super(addr, host, null); this.ipaddress = addr; } | Inet6Address(byte[] addr, String host) { super(addr, host, null); this.ipaddress = addr; } | 14,836 |
public void layoutContainer(Container parent) { if (isHorizontalIn(parent)) layoutAlgorithm(parent, HORIZONTAL, VERTICAL); else layoutAlgorithm(parent, VERTICAL, HORIZONTAL); } | public void layoutContainer(Container parent) { if (isHorizontalIn(parent)) layoutAlgorithm(parent, HORIZONTAL, VERTICAL); else layoutAlgorithm(parent, VERTICAL, HORIZONTAL); } | 14,837 |
public void layoutContainer(Container parent) { if (isHorizontalIn(parent)) layoutAlgorithm(parent, HORIZONTAL, VERTICAL); else layoutAlgorithm(parent, VERTICAL, HORIZONTAL); } | public void layoutContainer(Container parent) { if (isHorizontalIn(parent)) layoutAlgorithm(parent, HORIZONTAL, VERTICAL); else { SizeRequirements.calculateTiledPositions(height, null, vSizeReqs, vOffsets, vSpans); SizeRequirements.calculateAlignedPositions(width, null, hSizeReqs, hOffsets, hSpans); ... | 14,838 |
public Dimension maximumLayoutSize(Container parent) { if (parent != container) throw new AWTError("invalid parent"); Insets insets = parent.getInsets(); int x = insets.left + insets.right; int y = insets.top + insets.bottom; List children = AWTUtilities.getVisibleChildren(parent); if (isH... | public Dimension maximumLayoutSize(Container parent) { if (parent != container) throw new AWTError("invalid parent"); Insets insets = parent.getInsets(); int x = insets.left + insets.right; int y = insets.top + insets.bottom; List children = AWTUtilities.getVisibleChildren(parent); if (isH... | 14,839 |
public Dimension maximumLayoutSize(Container parent) { if (parent != container) throw new AWTError("invalid parent"); Insets insets = parent.getInsets(); int x = insets.left + insets.right; int y = insets.top + insets.bottom; List children = AWTUtilities.getVisibleChildren(parent); if (isH... | public Dimension maximumLayoutSize(Container parent) { if (parent != container) throw new AWTError("invalid parent"); Insets insets = parent.getInsets(); int x = insets.left + insets.right; int y = insets.top + insets.bottom; List children = AWTUtilities.getVisibleChildren(parent); if (isH... | 14,840 |
public Dimension maximumLayoutSize(Container parent) { if (parent != container) throw new AWTError("invalid parent"); Insets insets = parent.getInsets(); int x = insets.left + insets.right; int y = insets.top + insets.bottom; List children = AWTUtilities.getVisibleChildren(parent); if (isH... | public Dimension maximumLayoutSize(Container parent) { if (parent != container) throw new AWTError("invalid parent"); Insets insets = parent.getInsets(); int x = insets.left + insets.right; int y = insets.top + insets.bottom; List children = AWTUtilities.getVisibleChildren(parent); if (isH... | 14,841 |
public Dimension maximumLayoutSize(Container parent) { if (parent != container) throw new AWTError("invalid parent"); Insets insets = parent.getInsets(); int x = insets.left + insets.right; int y = insets.top + insets.bottom; List children = AWTUtilities.getVisibleChildren(parent); if (isH... | public Dimension maximumLayoutSize(Container parent) { if (parent != container) throw new AWTError("invalid parent"); Insets insets = parent.getInsets(); int x = insets.left + insets.right; int y = insets.top + insets.bottom; List children = AWTUtilities.getVisibleChildren(parent); if (isH... | 14,842 |
public Dimension minimumLayoutSize(Container parent) { if (parent != container) throw new AWTError("invalid parent"); Insets insets = parent.getInsets(); int x = insets.left + insets.right; int y = insets.bottom + insets.top; List children = AWTUtilities.getVisibleChildren(parent); if (isH... | public Dimension minimumLayoutSize(Container parent) { if (parent != container) throw new AWTError("invalid parent"); Insets insets = parent.getInsets(); int x = insets.left + insets.right; int y = insets.bottom + insets.top; List children = AWTUtilities.getVisibleChildren(parent); if (isH... | 14,843 |
public Dimension minimumLayoutSize(Container parent) { if (parent != container) throw new AWTError("invalid parent"); Insets insets = parent.getInsets(); int x = insets.left + insets.right; int y = insets.bottom + insets.top; List children = AWTUtilities.getVisibleChildren(parent); if (isH... | public Dimension minimumLayoutSize(Container parent) { if (parent != container) throw new AWTError("invalid parent"); Insets insets = parent.getInsets(); int x = insets.left + insets.right; int y = insets.bottom + insets.top; List children = AWTUtilities.getVisibleChildren(parent); if (isH... | 14,844 |
public Dimension minimumLayoutSize(Container parent) { if (parent != container) throw new AWTError("invalid parent"); Insets insets = parent.getInsets(); int x = insets.left + insets.right; int y = insets.bottom + insets.top; List children = AWTUtilities.getVisibleChildren(parent); if (isH... | public Dimension minimumLayoutSize(Container parent) { if (parent != container) throw new AWTError("invalid parent"); Insets insets = parent.getInsets(); int x = insets.left + insets.right; int y = insets.bottom + insets.top; List children = AWTUtilities.getVisibleChildren(parent); if (isH... | 14,845 |
public Dimension minimumLayoutSize(Container parent) { if (parent != container) throw new AWTError("invalid parent"); Insets insets = parent.getInsets(); int x = insets.left + insets.right; int y = insets.bottom + insets.top; List children = AWTUtilities.getVisibleChildren(parent); if (isH... | public Dimension minimumLayoutSize(Container parent) { if (parent != container) throw new AWTError("invalid parent"); Insets insets = parent.getInsets(); int x = insets.left + insets.right; int y = insets.bottom + insets.top; List children = AWTUtilities.getVisibleChildren(parent); if (isH... | 14,846 |
public Dimension minimumLayoutSize(Container parent) { if (parent != container) throw new AWTError("invalid parent"); Insets insets = parent.getInsets(); int x = insets.left + insets.right; int y = insets.bottom + insets.top; List children = AWTUtilities.getVisibleChildren(parent); if (isH... | public Dimension minimumLayoutSize(Container parent) { if (parent != container) throw new AWTError("invalid parent"); Insets insets = parent.getInsets(); int x = insets.left + insets.right; int y = insets.bottom + insets.top; List children = AWTUtilities.getVisibleChildren(parent); if (isH... | 14,847 |
public Dimension preferredLayoutSize(Container parent) { if (parent != container) throw new AWTError("invalid parent"); Insets insets = parent.getInsets(); int x = 0; int y = 0; List children = AWTUtilities.getVisibleChildren(parent); if (isHorizontalIn(parent)) { x = i... | public Dimension preferredLayoutSize(Container parent) { if (parent != container) throw new AWTError("invalid parent"); Insets insets = parent.getInsets(); int x = 0; int y = 0; List children = AWTUtilities.getVisibleChildren(parent); if (isHorizontalIn(parent)) { x = i... | 14,848 |
public Dimension preferredLayoutSize(Container parent) { if (parent != container) throw new AWTError("invalid parent"); Insets insets = parent.getInsets(); int x = 0; int y = 0; List children = AWTUtilities.getVisibleChildren(parent); if (isHorizontalIn(parent)) { x = i... | public Dimension preferredLayoutSize(Container parent) { if (parent != container) throw new AWTError("invalid parent"); Insets insets = parent.getInsets(); int x = 0; int y = 0; List children = AWTUtilities.getVisibleChildren(parent); if (isHorizontalIn(parent)) { x = i... | 14,849 |
public Dimension preferredLayoutSize(Container parent) { if (parent != container) throw new AWTError("invalid parent"); Insets insets = parent.getInsets(); int x = 0; int y = 0; List children = AWTUtilities.getVisibleChildren(parent); if (isHorizontalIn(parent)) { x = i... | public Dimension preferredLayoutSize(Container parent) { if (parent != container) throw new AWTError("invalid parent"); Insets insets = parent.getInsets(); int x = 0; int y = 0; List children = AWTUtilities.getVisibleChildren(parent); if (isHorizontalIn(parent)) { x = i... | 14,850 |
public _IDLTypeStub(Delegate delegate) { _set_delegate(delegate); } | public _IDLTypeStub() { _set_delegate(delegate); } | 14,851 |
public _IDLTypeStub(Delegate delegate) { _set_delegate(delegate); } | public _IDLTypeStub(Delegate delegate) { } | 14,852 |
public void setSystemId(String systemID); | public void setSystemId(String systemID); | 14,853 |
public InputStream getInputStream() { return inputStream; } | public InputStream getInputStream() { return inputStream; } | 14,854 |
public Reader getReader() { return reader; } | public Reader getReader() { return reader; } | 14,855 |
public String getPublicId() { return publicId; } | public String getPublicId() { return publicId; } | 14,856 |
public TransformerException(String msg) { super(msg); } | public TransformerException(String msg) { super(msg); } | 14,857 |
public Class getDeclaringClass() { return vmMethod.getDeclaringClass().asClass(); } | public Class getDeclaringClass() { return vmMethod.getDeclaringClass().asClass(); } | 14,858 |
public Class getDeclaringClass() { return vmMethod.getDeclaringClass().asClass(); } | public Class getDeclaringClass() { return vmMethod.getDeclaringClass().asClass(); } | 14,859 |
public TransformAttribute (AffineTransform transform) { if (transform != null) { this.affineTransform = new AffineTransform (transform); } } | public TransformAttribute (AffineTransform transform) { if (transform == null) { this.affineTransform = new AffineTransform (transform); } } | 14,860 |
public TransformAttribute (AffineTransform transform) { if (transform != null) { this.affineTransform = new AffineTransform (transform); } } | public TransformAttribute (AffineTransform transform) { if (transform != null) { throw new IllegalArgumentException("Null 'transform' not permitted."); } } | 14,861 |
public AffineTransform getTransform () { return affineTransform; } | public AffineTransform getTransform () { return (AffineTransform) affineTransform.clone(); } | 14,863 |
public int getIconHeight() { return 16; } | public int getIconHeight() { return 16 + getAdditionalHeight(); } | 14,864 |
public int getIconHeight() { return 16; } | public int getIconHeight() { return 16 + getAdditionalHeight(); } | 14,865 |
public static Icon getCheckBoxIcon() { return new MetalCheckBoxIcon(); } | public static Icon getCheckBoxIcon() { if (checkBoxIcon == null) checkBoxIcon = new MetalCheckBoxIcon(); return checkBoxIcon; } | 14,866 |
public static Icon getCheckBoxMenuItemIcon() { return new CheckBoxMenuItemIcon(); } | public static Icon getCheckBoxMenuItemIcon() { if (checkBoxMenuItemIcon == null) checkBoxMenuItemIcon = new CheckBoxMenuItemIcon(); return checkBoxMenuItemIcon; } | 14,867 |
public static Icon getFileChooserDetailViewIcon() { return new FileChooserDetailViewIcon(); } | public static Icon getFileChooserDetailViewIcon() { if (fileChooserDetailViewIcon == null) fileChooserDetailViewIcon = new FileChooserDetailViewIcon(); return fileChooserDetailViewIcon; } | 14,868 |
public static Icon getFileChooserHomeFolderIcon() { return new FileChooserHomeFolderIcon(); } | public static Icon getFileChooserHomeFolderIcon() { if (fileChooserHomeFolderIcon == null) fileChooserHomeFolderIcon = new FileChooserHomeFolderIcon(); return fileChooserHomeFolderIcon; } | 14,869 |
public static Icon getFileChooserListViewIcon() { return new FileChooserListViewIcon(); } | public static Icon getFileChooserListViewIcon() { if (fileChooserListViewIcon == null) fileChooserListViewIcon = new FileChooserListViewIcon(); return fileChooserListViewIcon; } | 14,870 |
public static Icon getFileChooserNewFolderIcon() { return new FileChooserNewFolderIcon(); } | public static Icon getFileChooserNewFolderIcon() { if (fileChooserNewFolderIcon == null) fileChooserNewFolderIcon = new FileChooserNewFolderIcon(); return fileChooserNewFolderIcon; } | 14,871 |
public static Icon getFileChooserUpFolderIcon() { return new FileChooserUpFolderIcon(); } | public static Icon getFileChooserUpFolderIcon() { if (fileChooserUpFolderIcon == null) fileChooserUpFolderIcon = new FileChooserUpFolderIcon(); return fileChooserUpFolderIcon; } | 14,872 |
public static Icon getInternalFrameDefaultMenuIcon() { return new InternalFrameDefaultMenuIcon(); } | public static Icon getInternalFrameDefaultMenuIcon() { if (internalFrameDefaultMenuIcon == null) internalFrameDefaultMenuIcon = new InternalFrameDefaultMenuIcon(); return internalFrameDefaultMenuIcon; } | 14,873 |
public static Icon getRadioButtonMenuItemIcon() { return new RadioButtonMenuItemIcon(); } | public static Icon getRadioButtonMenuItemIcon() { if (radioButtonMenuItemIcon == null) radioButtonMenuItemIcon = new RadioButtonMenuItemIcon(); return radioButtonMenuItemIcon; } | 14,874 |
public static Icon getTreeComputerIcon() { return new TreeComputerIcon(); } | public static Icon getTreeComputerIcon() { if (treeComputerIcon == null) treeComputerIcon = new TreeComputerIcon(); return treeComputerIcon; } | 14,875 |
public static Icon getTreeFloppyDriveIcon() { return new TreeFloppyDriveIcon(); } | public static Icon getTreeFloppyDriveIcon() { if (treeFloppyDriveIcon == null) treeFloppyDriveIcon = new TreeFloppyDriveIcon(); return treeFloppyDriveIcon; } | 14,876 |
public static Icon getTreeHardDriveIcon() { return new TreeHardDriveIcon(); } | public static Icon getTreeHardDriveIcon() { if (treeHardDriveIcon == null) treeHardDriveIcon = new TreeHardDriveIcon(); return treeHardDriveIcon; } | 14,877 |
public boolean isSelected() { return getModel().isSelected(); } | public boolean isSelected() { return getModel().isSelected(); } | 14,878 |
public Polygon(int[] xpoints, int[] ypoints, int npoints) { this.xpoints = new int[npoints]; this.ypoints = new int[npoints]; System.arraycopy(xpoints, 0, this.xpoints, 0, npoints); System.arraycopy(ypoints, 0, this.ypoints, 0, npoints); this.npoints = npoints; } | public Polygon() { this.xpoints = new int[npoints]; this.ypoints = new int[npoints]; System.arraycopy(xpoints, 0, this.xpoints, 0, npoints); System.arraycopy(ypoints, 0, this.ypoints, 0, npoints); this.npoints = npoints; } | 14,879 |
public Polygon(int[] xpoints, int[] ypoints, int npoints) { this.xpoints = new int[npoints]; this.ypoints = new int[npoints]; System.arraycopy(xpoints, 0, this.xpoints, 0, npoints); System.arraycopy(ypoints, 0, this.ypoints, 0, npoints); this.npoints = npoints; } | public Polygon(int[] xpoints, int[] ypoints, int npoints) { this.xpoints = new int[npoints]; this.ypoints = new int[npoints]; System.arraycopy(xpoints, 0, this.xpoints, 0, npoints); System.arraycopy(ypoints, 0, this.ypoints, 0, npoints); this.npoints = npoints; } | 14,880 |
public void fillPolygon(Polygon polygon) { fillPolygon(polygon.xpoints, polygon.ypoints, polygon.npoints); } | public void fillPolygon(Polygon polygon) { fillPolygon(polygon.xpoints, polygon.ypoints, polygon.npoints); } | 14,881 |
public void setMargin(Insets m) { margin = m; revalidate(); repaint(); } | public void setMargin(Insets m) { margin = m; revalidate(); repaint(); } | 14,882 |
public boolean isEnabled(); | public boolean isEnabled(); | 14,883 |
public void setHorizontalAlignment(int alignment) { // Sets the alignment of the label's contents along the X axis. hor_align = alignment; } | public void setHorizontalAlignment(int alignment) { // Sets the alignment of the label's contents along the X axis. hor_align = alignment; } | 14,884 |
public void setHorizontalTextPosition(int textPosition) { // Sets the horizontal position of the label's text, relative to its image. hor_text_pos = textPosition; } | public void setHorizontalTextPosition(int textPosition) { // Sets the horizontal position of the label's text, relative to its image. hor_text_pos = textPosition; } | 14,885 |
public void setMnemonic(int mne) { getModel().setMnemonic(mne); } | public void setMnemonic(int mne) { getModel().setMnemonic(mne); } | 14,886 |
public void putValue(String key, Object value); | public void putValue(String key, Object value); | 14,887 |
public void setEnabled(boolean b); | public void setEnabled(boolean b); | 14,888 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.