bugged stringlengths 6 599k | fixed stringlengths 6 40.8M | __index_level_0__ int64 0 3.24M |
|---|---|---|
protected void setSelectionModel(TreeSelectionModel newLSM) { if (newLSM != null) { treeSelectionModel = newLSM; tree.setSelectionModel(treeSelectionModel); } } | protected void setSelectionModel(TreeSelectionModel newLSM) { if (newLSM != null) { treeSelectionModel = newLSM; tree.setSelectionModel(treeSelectionModel); } } | 301 |
protected void setShowsRootHandles(boolean newValue) { tree.setShowsRootHandles(newValue); } | protected void setShowsRootHandles(boolean newValue) { tree.setShowsRootHandles(newValue); } | 302 |
protected boolean startEditing(TreePath path, MouseEvent event) { int x; int y; if (event == null) { Rectangle bounds = getPathBounds(tree, path); x = bounds.x; y = bounds.y; } else { x = event.getX(); y = event.getY(); } updateCellEditor(); ... | protected boolean startEditing(TreePath path, MouseEvent event) { int x; int y; if (event == null) { Rectangle bounds = getPathBounds(tree, path); x = bounds.x; y = bounds.y; } else { x = event.getX(); y = event.getY(); } updateCellEditor(); ... | 303 |
protected boolean startEditing(TreePath path, MouseEvent event) { int x; int y; if (event == null) { Rectangle bounds = getPathBounds(tree, path); x = bounds.x; y = bounds.y; } else { x = event.getX(); y = event.getY(); } updateCellEditor(); ... | protected boolean startEditing(TreePath path, MouseEvent event) { int x; int y; if (event == null) { Rectangle bounds = getPathBounds(tree, path); x = bounds.x; y = bounds.y; } else { x = event.getX(); y = event.getY(); } updateCellEditor(); ... | 304 |
protected boolean startEditing(TreePath path, MouseEvent event) { int x; int y; if (event == null) { Rectangle bounds = getPathBounds(tree, path); x = bounds.x; y = bounds.y; } else { x = event.getX(); y = event.getY(); } updateCellEditor(); ... | protected boolean startEditing(TreePath path, MouseEvent event) { int x; int y; if (event == null) { Rectangle bounds = getPathBounds(tree, path); x = bounds.x; y = bounds.y; } else { x = event.getX(); y = event.getY(); } updateCellEditor(); ... | 305 |
public void startEditingAtPath(JTree tree, TreePath path) { startEditing(path, null); } | public void startEditingAtPath(JTree tree, TreePath path) { startEditing(path, null); } | 306 |
public void startEditingAtPath(JTree tree, TreePath path) { startEditing(path, null); } | public void startEditingAtPath(JTree tree, TreePath path) { startEditing(path, null); } | 307 |
public boolean stopEditing(JTree tree) { if (isEditing(tree)) completeEditing(true, false, false); return !isEditing(tree); } | public boolean stopEditing(JTree tree) { if (isEditing(tree)) completeEditing(true, false, false); return !isEditing(tree); } | 308 |
public boolean stopEditing(JTree tree) { if (isEditing(tree)) completeEditing(true, false, false); return !isEditing(tree); } | public boolean stopEditing(JTree tree) { if (isEditing(tree)) completeEditing(true, false, false); return !isEditing(tree); } | 309 |
protected void toggleExpandState(TreePath path) { // FIXME: not implemented } | protected void toggleExpandState(TreePath path) { // FIXME: not implemented } | 310 |
protected void uninstallComponents() { // FIXME: not implemented } | protected void uninstallComponents() { // FIXME: not implemented } | 311 |
protected void uninstallDefaults() { tree.setFont(null); tree.setForeground(null); tree.setBackground(null); } | protected void uninstallDefaults() { tree.setFont(null); tree.setForeground(null); tree.setBackground(null); } | 312 |
protected void uninstallKeyboardActions() { } | protected void uninstallKeyboardActions() { } | 313 |
protected void uninstallListeners() { tree.removePropertyChangeListener(propertyChangeListener); tree.removeFocusListener(focusListener); tree.removeTreeSelectionListener(treeSelectionListener); tree.removeMouseListener(mouseInputListener); tree.removeKeyListener(keyListener); tree.removePropertyChangeListener(s... | protected void uninstallListeners() { tree.removePropertyChangeListener(propertyChangeListener); tree.removeFocusListener(focusListener); tree.removeTreeSelectionListener(treeSelectionListener); tree.removeMouseListener(mouseInputListener); tree.removeKeyListener(keyListener); tree.removePropertyChangeListener(s... | 314 |
protected void uninstallListeners() { tree.removePropertyChangeListener(propertyChangeListener); tree.removeFocusListener(focusListener); tree.removeTreeSelectionListener(treeSelectionListener); tree.removeMouseListener(mouseInputListener); tree.removeKeyListener(keyListener); tree.removePropertyChangeListener(s... | protected void uninstallListeners() { tree.removePropertyChangeListener(propertyChangeListener); tree.removeFocusListener(focusListener); tree.removeTreeSelectionListener(treeSelectionListener); tree.removeMouseListener(mouseInputListener); tree.removeKeyListener(keyListener); tree.removePropertyChangeListener(s... | 315 |
public void uninstallUI(JComponent c) { uninstallDefaults(); uninstallKeyboardActions(); uninstallListeners(); tree = null; completeUIUninstall(); } | public void uninstallUI(JComponent c) { prepareForUIUninstall(); uninstallDefaults(); uninstallKeyboardActions(); uninstallListeners(); tree = null; completeUIUninstall(); } | 316 |
public void uninstallUI(JComponent c) { uninstallDefaults(); uninstallKeyboardActions(); uninstallListeners(); tree = null; completeUIUninstall(); } | public void uninstallUI(JComponent c) { uninstallDefaults(); uninstallKeyboardActions(); uninstallListeners(); tree = null; completeUIUninstall(); } | 317 |
protected void updateCachedPreferredSize() { // FIXME: not implemented } | protected void updateCachedPreferredSize() { // FIXME: not implemented } | 318 |
protected void updateCellEditor() { if (tree.isEditable() && cellEditor == null) setCellEditor(createDefaultCellEditor()); createdCellEditor = true; } | protected void updateCellEditor() { if (tree.isEditable() && cellEditor == null) setCellEditor(createDefaultCellEditor()); createdCellEditor = true; } | 319 |
protected void updateCellEditor() { if (tree.isEditable() && cellEditor == null) setCellEditor(createDefaultCellEditor()); createdCellEditor = true; } | protected void updateCellEditor() { if (tree.isEditable() && cellEditor == null) setCellEditor(createDefaultCellEditor()); createdCellEditor = true; } | 320 |
protected void updateDepthOffset() { // FIXME: not implemented } | protected void updateDepthOffset() { // FIXME: not implemented } | 321 |
protected void updateExpandedDescendants(TreePath path) { // FIXME: not implemented } | protected void updateExpandedDescendants(TreePath path) { // FIXME: not implemented } | 322 |
protected void updateLayoutCacheExpandedNodes() { // FIXME: not implemented } | protected void updateLayoutCacheExpandedNodes() { // FIXME: not implemented } | 323 |
protected void updateRenderer() { // FIXME: not implemented } | protected void updateRenderer() { // FIXME: not implemented } | 324 |
protected void updateSize() { // FIXME: not implemented } | protected void updateSize() { // FIXME: not implemented } | 325 |
public void remove(Component comp) { synchronized (getTreeLock ()) { for (int i = 0; i < ncomponents; ++i) { if (component[i] == comp) { remove(i); break; } } } } | public void remove(int index) { synchronized (getTreeLock ()) { for (int i = 0; i < ncomponents; ++i) { if (component[i] == comp) { remove(i); break; } } } } | 326 |
public void remove(Component comp) { synchronized (getTreeLock ()) { for (int i = 0; i < ncomponents; ++i) { if (component[i] == comp) { remove(i); break; } } } } | public void remove(Component comp) { synchronized (getTreeLock ()) { Component r = component[index]; r.removeNotify(); System.arraycopy(component, index + 1, component, index, ncomponents - index - 1); component[--ncomponents] = null; invalidate(); if (layoutMgr != null) layoutMgr.removeLayoutComp... | 327 |
public void remove(Component comp) { synchronized (getTreeLock ()) { for (int i = 0; i < ncomponents; ++i) { if (component[i] == comp) { remove(i); break; } } } } | public void remove(Component comp) { synchronized (getTreeLock ()) { for (int i = 0; i < ncomponents; ++i) { if (component[i] == comp) { remove(i); break; } } } } | 328 |
public boolean requestFocusInWindow(boolean temporary) { return super.requestFocusInWindow(temporary); } | public boolean requestFocusInWindow() { return super.requestFocusInWindow(temporary); } | 330 |
public boolean requestFocusInWindow(boolean temporary) { return super.requestFocusInWindow(temporary); } | public boolean requestFocusInWindow(boolean temporary) { if (isRequestFocusEnabled()) return super.requestFocusInWindow(); else return false; } | 331 |
public void stop() { running = false; if (waker != null) waker.interrupt(); synchronized (queueLock) { queue = 0; } } | public void stop() { running = false; if (waker != null) waker.interrupt(); synchronized (queueLock) { queue = 0; } } | 332 |
public void stop() { running = false; if (waker != null) waker.interrupt(); synchronized (queueLock) { queue = 0; } } | public void stop() { running = false; if (waker != null) waker.interrupt(); synchronized (queueLock) { queue = 0; } } | 333 |
public Caret getCaret() { return caret; } | public Caret getCaret() { return caret; } | 334 |
public Caret getCaret() { return caret; } | public Caret getCaret() { return caret; } | 335 |
public boolean isEditable() { return editable; } | public boolean isEditable() { return editable; } | 336 |
public boolean isEditable() { return editable; } | public boolean isEditable() { return editable; } | 337 |
public static int round(float a) { if (Float.isNaN(a)) return 0; return (int) floor(a + 0.5f); } | public static int round(float a) { if (Float.isNaN(a)) return 0; return (int) floor(a + 0.5f); } | 338 |
public boolean isExpanded(TreePath path) { if (path == null) return false; Object state = nodeStates.get(path); if ((state == null) || (state != EXPANDED)) return false; TreePath parent = path.getParentPath(); if (parent != null) return isExpanded(parent); return true; } | public boolean isExpanded(TreePath path) { if (path == null) return false; Object state = nodeStates.get(path); if ((state == null) || (state != EXPANDED)) return false; TreePath parent = path.getParentPath(); if (parent != null) return isExpanded(parent); return true; } | 339 |
public void collapsePath(TreePath path) { try { fireTreeWillCollapse(path); } catch (ExpandVetoException ev) { } setExpandedState(path, false); fireTreeCollapsed(path); } | public void collapsePath(TreePath path) { try { fireTreeWillCollapse(path); } catch (ExpandVetoException ev) { } setExpandedState(path, false); fireTreeCollapsed(path); } | 340 |
public void collapsePath(TreePath path) { try { fireTreeWillCollapse(path); } catch (ExpandVetoException ev) { } setExpandedState(path, false); fireTreeCollapsed(path); } | public void collapsePath(TreePath path) { try { fireTreeWillCollapse(path); } catch (ExpandVetoException ev) { } setExpandedState(path, false); fireTreeCollapsed(path); } | 341 |
public void expandPath(TreePath path) { // Don't expand if last path component is a leaf node. if ((path == null) || (treeModel.isLeaf(path.getLastPathComponent()))) return; try { fireTreeWillExpand(path); } catch (ExpandVetoException ev) { } setExpandedSt... | public void expandPath(TreePath path) { // Don't expand if last path component is a leaf node. if ((path == null) || (treeModel.isLeaf(path.getLastPathComponent()))) return; try { fireTreeWillExpand(path); } catch (ExpandVetoException ev) { } setExpandedSt... | 342 |
public void expandPath(TreePath path) { // Don't expand if last path component is a leaf node. if ((path == null) || (treeModel.isLeaf(path.getLastPathComponent()))) return; try { fireTreeWillExpand(path); } catch (ExpandVetoException ev) { } setExpandedSt... | public void expandPath(TreePath path) { // Don't expand if last path component is a leaf node. if ((path == null) || (treeModel.isLeaf(path.getLastPathComponent()))) return; try { fireTreeWillExpand(path); } catch (ExpandVetoException ev) { } setExpandedSt... | 343 |
public void expandPath(TreePath path) { // Don't expand if last path component is a leaf node. if ((path == null) || (treeModel.isLeaf(path.getLastPathComponent()))) return; try { fireTreeWillExpand(path); } catch (ExpandVetoException ev) { } setExpandedSt... | public void expandPath(TreePath path) { // Don't expand if last path component is a leaf node. if ((path == null) || (treeModel.isLeaf(path.getLastPathComponent()))) return; try { fireTreeWillExpand(path); } catch (ExpandVetoException ev) { } setExpandedSt... | 344 |
public int getRowCount() { TreeUI ui = getUI(); if (ui != null) return ui.getRowCount(this); return 0; } | public int getRowCount() { TreeUI ui = getUI(); if (ui != null) return ui.getRowCount(this); return 0; } | 345 |
public boolean stopEditing() { TreeUI ui = getUI(); if (ui != null) return ui.stopEditing(this); return false; } | public boolean stopEditing() { TreeUI ui = getUI(); if (ui != null) return ui.stopEditing(this); return false; } | 346 |
public void clearSelection() { selectionModel.clearSelection(); setLeadSelectionPath(null); } | public void clearSelection() { selectionModel.clearSelection(); setLeadSelectionPath(null); } | 347 |
public void setLeadSelectionPath(TreePath path) { if (leadSelectionPath == path) return; TreePath oldValue = leadSelectionPath; leadSelectionPath = path; firePropertyChange(LEAD_SELECTION_PATH_PROPERTY, oldValue, path); } | public void setLeadSelectionPath(TreePath path) { if (leadSelectionPath == path) return; TreePath oldValue = leadSelectionPath; leadSelectionPath = path; firePropertyChange(LEAD_SELECTION_PATH_PROPERTY, oldValue, path); } | 348 |
public boolean isCollapsed(TreePath path) { return !isExpanded(path); } | public boolean isCollapsed(TreePath path) { return !isExpanded(path); } | 349 |
public DefaultTreeCellEditor(JTree tree, DefaultTreeCellRenderer renderer, TreeCellEditor editor) { setTree(tree); this.renderer = renderer; if (editor == null) editor = createTreeCellEditor(); realEditor = editor; lastPath = tree.getLeadSelectionPath(); t... | public DefaultTreeCellEditor(JTree tree, DefaultTreeCellRenderer renderer, TreeCellEditor editor) { setTree(tree); this.renderer = renderer; if (editor == null) editor = createTreeCellEditor(); realEditor = editor; lastPath = tree.getLeadSelectionPath(); t... | 350 |
public DefaultTreeCellEditor(JTree tree, DefaultTreeCellRenderer renderer, TreeCellEditor editor) { setTree(tree); this.renderer = renderer; if (editor == null) editor = createTreeCellEditor(); realEditor = editor; lastPath = tree.getLeadSelectionPath(); t... | public DefaultTreeCellEditor(JTree tree, DefaultTreeCellRenderer renderer, TreeCellEditor editor) { setTree(tree); this.renderer = renderer; if (editor == null) editor = createTreeCellEditor(); realEditor = editor; lastPath = tree.getLeadSelectionPath(); t... | 351 |
public FixedHeightLayoutCache() { // TODO } // FixedHeightLayoutCache() | public FixedHeightLayoutCache() { // TODO } // FixedHeightLayoutCache() | 352 |
public Rectangle(int x, int y, int width, int height) { this.x = x; this.y = y; this.width = width; this.height = height; } | public Rectangle() { this.x = x; this.y = y; this.width = width; this.height = height; } | 353 |
public Rectangle(int x, int y, int width, int height) { this.x = x; this.y = y; this.width = width; this.height = height; } | public Rectangle(int x, int y, int width, int height) { this.x = x; this.y = y; this.width = width; this.height = height; } | 354 |
public static int max(int a, int b) { return (a > b) ? a : b; } | public static int max(int a, int b) { return (a > b) ? a : b; } | 355 |
public void setOpaque(boolean isOpaque) { boolean oldOpaque = opaque; opaque = isOpaque; firePropertyChange("opaque", oldOpaque, opaque); revalidate(); repaint(); } | public void setOpaque(boolean isOpaque) { boolean oldOpaque = opaque; opaque = isOpaque; firePropertyChange("opaque", oldOpaque, opaque); revalidate(); repaint(); } | 356 |
public void setRootVisible(boolean flag) { if (rootVisible == flag) return; boolean oldValue = rootVisible; rootVisible = flag; firePropertyChange(ROOT_VISIBLE_PROPERTY, oldValue, flag); } | public void setRootVisible(boolean flag) { if (rootVisible == flag) return; boolean oldValue = rootVisible; rootVisible = flag; firePropertyChange(ROOT_VISIBLE_PROPERTY, oldValue, flag); } | 358 |
public void paintComponent(Graphics graphics, Component c, Container p, Rectangle r) { paintComponent(graphics, c, p, r.x, r.y, r.width, r.height); } // paintComponent() | public void paintComponent(Graphics graphics, Component c, Container p, int x, int y, int w, int h, boolean shouldValidate) { paintComponent(graphics, c, p, r.x, r.y, r.width, r.height); } // paintComponent() | 360 |
public void paintComponent(Graphics graphics, Component c, Container p, Rectangle r) { paintComponent(graphics, c, p, r.x, r.y, r.width, r.height); } // paintComponent() | public void paintComponent(Graphics graphics, Component c, Container p, Rectangle r) { paintComponent(graphics, c, p, r.x, r.y, r.width, r.height); } // paintComponent() | 361 |
Component getTreeCellRendererComponent(JTree tree, Object value, boolean selected, boolean expanded, boolean leaf, int row, boolean hasFocus); | Component getTreeCellRendererComponent(JTree tree, Object value, boolean selected, boolean expanded, boolean leaf, int row, boolean hasFocus); | 362 |
public void setModel(TreeModel model) { if (treeModel == model) return; // add treeModelListener to the new model if (treeModelListener == null) treeModelListener = createTreeModelListener(); if (model != null) // as setModel(null) is allowed model.addTreeModelListener(treeModelListener); ... | public void setModel(TreeModel model) { if (treeModel == model) return; // add treeModelListener to the new model if (treeModelListener == null) treeModelListener = createTreeModelListener(); if (model != null) // as setModel(null) is allowed model.addTreeModelListener(treeModelListener); ... | 363 |
public void setSelectionModel(TreeSelectionModel model) { if (selectionModel == model) return; if (selectionModel != null) selectionModel.removeTreeSelectionListener(selectionRedirector); TreeSelectionModel oldValue = selectionModel; selectionModel = model; if (selectionModel != null) selecti... | public void setSelectionModel(TreeSelectionModel model) { if (selectionModel == model) return; if (selectionModel != null) selectionModel.removeTreeSelectionListener(selectionRedirector); TreeSelectionModel oldValue = selectionModel; selectionModel = model; if (selectionModel != null) selecti... | 364 |
public void setSelectionModel(TreeSelectionModel model) { if (selectionModel == model) return; if (selectionModel != null) selectionModel.removeTreeSelectionListener(selectionRedirector); TreeSelectionModel oldValue = selectionModel; selectionModel = model; if (selectionModel != null) selecti... | public void setSelectionModel(TreeSelectionModel model) { if (selectionModel == model) return; if (selectionModel != null) selectionModel.removeTreeSelectionListener(selectionRedirector); TreeSelectionModel oldValue = selectionModel; selectionModel = model; if (selectionModel != null) selecti... | 365 |
public void setSelectionModel(TreeSelectionModel model) { if (selectionModel == model) return; if (selectionModel != null) selectionModel.removeTreeSelectionListener(selectionRedirector); TreeSelectionModel oldValue = selectionModel; selectionModel = model; if (selectionModel != null) selecti... | public void setSelectionModel(TreeSelectionModel model) { if (selectionModel == model) return; if (selectionModel != null) selectionModel.removeTreeSelectionListener(selectionRedirector); TreeSelectionModel oldValue = selectionModel; selectionModel = model; if (selectionModel != null) selecti... | 366 |
public void setShowsRootHandles(boolean flag) { if (showsRootHandles == flag) return; boolean oldValue = showsRootHandles; showsRootHandles = flag; firePropertyChange(SHOWS_ROOT_HANDLES_PROPERTY, oldValue, flag); } | public void setShowsRootHandles(boolean flag) { if (showsRootHandles == flag) return; boolean oldValue = showsRootHandles; showsRootHandles = flag; firePropertyChange(SHOWS_ROOT_HANDLES_PROPERTY, oldValue, flag); } | 367 |
public TreeCellEditor getCellEditor() { return cellEditor; } | publicTreeCellEditorgetCellEditor(){returncellEditor;} | 368 |
public void reshape(int x, int y, int width, int height) { int oldx = this.x; int oldy = this.y; int oldwidth = this.width; int oldheight = this.height; if (this.x == x && this.y == y && this.width == width && this.height == height) return; invalidate (); this.x = x; this.y = y; ... | public void reshape(int x, int y, int width, int height) { int oldx = this.x; int oldy = this.y; int oldwidth = this.width; int oldheight = this.height; if (this.x == x && this.y == y && this.width == width && this.height == height) return; invalidate (); this.x = x; this.y = y; ... | 369 |
public void reshape(int x, int y, int width, int height) { int oldx = this.x; int oldy = this.y; int oldwidth = this.width; int oldheight = this.height; if (this.x == x && this.y == y && this.width == width && this.height == height) return; invalidate (); this.x = x; this.y = y; ... | public void reshape(int x, int y, int width, int height) { int oldx = this.x; int oldy = this.y; int oldwidth = this.width; int oldheight = this.height; if (this.x == x && this.y == y && this.width == width && this.height == height) return; invalidate (); this.x = x; this.y = y; ... | 370 |
public SwingWindowPeer(SwingToolkit toolkit, Window window, JInternalFrame jComponent) { super(toolkit, window, jComponent); } | public SwingWindowPeer(SwingToolkit toolkit, Window window, JInternalFrame jComponent) { super(toolkit, window, jComponent); } | 371 |
public void setLocation(Point p) { setLocation(p.x, p.y); } | public void setLocation(int x, int y) { setLocation(p.x, p.y); } | 372 |
public void setLocation(Point p) { setLocation(p.x, p.y); } | public void setLocation(Point p) { setLocation(p.x, p.y); } | 373 |
public void setSize(Dimension d) { resize (d); } | public void setSize(int width, int height) { resize (d); } | 374 |
public void setSize(Dimension d) { resize (d); } | public void setSize(Dimension d) { resize (d); } | 375 |
isResizable(){ return(resizable);} | isResizable(){ return(resizable);} | 376 |
public int getState () { /* FIXME: State might have changed in the peer... Must check. */ return (state & ICONIFIED) != 0 ? ICONIFIED : NORMAL; } | public int getState() { /* FIXME: State might have changed in the peer... Must check. */ return (state & ICONIFIED) != 0 ? ICONIFIED : NORMAL; } | 377 |
public int getState () { /* FIXME: State might have changed in the peer... Must check. */ return (state & ICONIFIED) != 0 ? ICONIFIED : NORMAL; } | public int getState () { return (state & ICONIFIED) != 0 ? ICONIFIED : NORMAL; } | 378 |
getTitle(){ return(title);} | getTitle(){ return(title);} | 379 |
getMenuBar(){ return(menuBar);} | getMenuBar(){ return(menuBar);} | 380 |
public void dispose() { hide(); JDesktopPane pane = getDesktopPane(); if (pane != null) pane.setSelectedFrame(null); else { try { setSelected(false); } catch (PropertyVetoException e) { // Do nothing if they don't want to be unselected. } } isClosed = true; fireIntern... | public void dispose() { setVisible(false); JDesktopPane pane = getDesktopPane(); if (pane != null) pane.setSelectedFrame(null); else { try { setSelected(false); } catch (PropertyVetoException e) { // Do nothing if they don't want to be unselected. } } isClosed = true; ... | 381 |
public UserException(String reason) { super(reason); } | public UserException() { super(reason); } | 382 |
public UserException(String reason) { super(reason); } | public UserException(String reason) { } | 383 |
public IllegalArgumentException(String s) { super(s); } | public IllegalArgumentException(String s) { super(s); } | 384 |
protected CharsetProvider() { SecurityManager s = System.getSecurityManager(); if (s != null) s.checkPermission(new RuntimePermission("charsetProvider")); } | protected CharsetProvider() { SecurityManager s = System.getSecurityManager(); if (s != null && ! (this instanceof gnu.java.nio.charset.Provider || this instanceof gnu.java.nio.charset.iconv.IconvProvider)) s.checkPermission(new RuntimePermission("charsetProvider")); } | 385 |
public Key(int virtuelKey) { this.lowerVirtuelKey = virtuelKey; this.upperVirtuelKey = virtuelKey; this.altGrVirtuelKey = virtuelKey; lowerChar = 0; upperChar = 0; altGrChar = 0; } | public Key() { this.lowerVirtuelKey = virtuelKey; this.upperVirtuelKey = virtuelKey; this.altGrVirtuelKey = virtuelKey; lowerChar = 0; upperChar = 0; altGrChar = 0; } | 386 |
public Key(int virtuelKey) { this.lowerVirtuelKey = virtuelKey; this.upperVirtuelKey = virtuelKey; this.altGrVirtuelKey = virtuelKey; lowerChar = 0; upperChar = 0; altGrChar = 0; } | public Key(int virtuelKey) { this.lowerVirtuelKey = virtuelKey; this.upperVirtuelKey = virtuelKey; this.altGrVirtuelKey = virtuelKey; lowerChar = 0; upperChar = 0; altGrChar = 0; } | 387 |
public void add(AbstractButton b) { b.getModel().setGroup(this); if (b.isSelected()) { if (sel == null) sel = b.getModel(); else b.setSelected(false); } buttons.addElement(b); } | public void add(AbstractButton b) { b.getModel().setGroup(this); if (b.isSelected()) { if (sel == null) sel = b.getModel(); else b.setSelected(false); } buttons.addElement(b); } | 388 |
public void setSelected(ButtonModel m, boolean b) { if ((sel != m || b) && (! b || sel == m)) return; if (b && sel != m) { ButtonModel old = sel; sel = m; if (old != null) old.setSelected(false); AbstractButton button = FindButton(old); if (button != null) button.repaint(); } else if (!b ... | public void setSelected(ButtonModel m, boolean b) { if ((sel != m || b) && (! b || sel == m)) return; if (b && sel != m) { ButtonModel old = sel; sel = m; if (old != null) old.setSelected(false); AbstractButton button = FindButton(old); if (button != null) button.repaint(); } else if (!b ... | 390 |
public JIFSDirectory(String name, boolean root) throws IOException { this(name); this.root = root; JIFSDirectory dir; JIFSFile file; //file entries.add(new JIFSFuptime(this)); entries.add(new JIFSFmemory(this)); entries.add(new JIFSFversion(this)); //directory entries.add(new JIFSDthreads( this)); entries.a... | public JIFSDirectory(String name, boolean root) throws IOException { this(name); this.root = root; JIFSDirectory dir; JIFSFile file; //file entries.add(new JIFSFuptime(this)); entries.add(new JIFSFmemory(this)); entries.add(new JIFSFversion(this)); //directory entries.add(new JIFSDthreads( this)); entries.a... | 391 |
public ReadOnlyFileSystemException(String message) { super(message); } | public ReadOnlyFileSystemException(String message) { super(message); } | 392 |
public void caretUpdate(CaretEvent value0) { // TODO } | public void caretUpdate(CaretEvent value0) { // TODO } | 394 |
public void changedUpdate(DocumentEvent value0) { // TODO } | public void changedUpdate(DocumentEvent value0) { // TODO } | 395 |
public AccessibleRole getAccessibleRole() { return null; // TODO } | public AccessibleRole getAccessibleRole() { return null; // TODO } | 396 |
public AccessibleText getAccessibleText() { return null; // TODO } | public AccessibleText getAccessibleText() { return null; // TODO } | 397 |
public int getCaretPosition() { return 0; // TODO } | public int getCaretPosition() { return 0; // TODO } | 398 |
public int getCharCount() { return 0; // TODO } | public int getCharCount() { return 0; // TODO } | 399 |
public int getIndexAtPoint(Point value0) { return 0; // TODO } | public int getIndexAtPoint(Point value0) { return 0; // TODO } | 400 |
public String getSelectedText() { return null; // TODO } | public String getSelectedText() { return null; // TODO } | 401 |
public int getSelectionEnd() { return 0; // TODO } | public int getSelectionEnd() { return 0; // TODO } | 402 |
public int getSelectionStart() { return 0; // TODO } | public int getSelectionStart() { return 0; // TODO } | 403 |
public void insertUpdate(DocumentEvent value0) { // TODO } | public void insertUpdate(DocumentEvent value0) { // TODO } | 404 |
public void removeUpdate(DocumentEvent value0) { // TODO } | public void removeUpdate(DocumentEvent value0) { // TODO } | 405 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.