bugged
stringlengths
6
599k
fixed
stringlengths
6
40.8M
__index_level_0__
int64
0
3.24M
public Servant reference_to_servant(org.omg.CORBA.Object the_Object) throws ObjectNotActive, WrongPolicy, WrongAdapter { if (applies(ServantRetentionPolicyValue.RETAIN)) { AOM.Obj ref = aom.findObject(the_Object); if (ref == nul...
public Servant reference_to_servant(org.omg.CORBA.Object the_Object) throws ObjectNotActive, WrongPolicy, WrongAdapter { if (applies(ServantRetentionPolicyValue.RETAIN)) { AOM.Obj ref = aom.findObject(the_Object); if (ref == nul...
22,788
public Servant reference_to_servant(org.omg.CORBA.Object the_Object) throws ObjectNotActive, WrongPolicy, WrongAdapter { if (applies(ServantRetentionPolicyValue.RETAIN)) { AOM.Obj ref = aom.findObject(the_Object); if (ref == nul...
public Servant reference_to_servant(org.omg.CORBA.Object the_Object) throws ObjectNotActive, WrongPolicy, WrongAdapter { if (applies(ServantRetentionPolicyValue.RETAIN)) { AOM.Obj ref = aom.findObject(the_Object); if (ref == nul...
22,789
public static final String getDefaultType() { String tmp; //Security reads every property in java.security so it //will return this property if it exists. tmp = Security.getProperty("keystore.type"); if (tmp == null) tmp = "jks"; return tmp; }
public static final String getDefaultType() { String tmp; //Security reads every property in java.security so it //will return this property if it exists. tmp = Security.getProperty("keystore.type"); if (tmp == null) tmp = "jks"; return tmp; }
22,790
public static KeyStore getInstance(String type) throws KeyStoreException { Provider[] p = Security.getProviders(); for (int i = 0; i < p.length; i++) { String classname = p[i].getProperty("KeyStore." + type); if (classname != null) return getInstance(classname, type, p[i]); } throw new KeyStoreE...
public static KeyStore getInstance(String type) throws KeyStoreException { Provider[] p = Security.getProviders(); for (int i = 0; i < p.length; i++) { String classname = p[i].getProperty("KeyStore." + type); if (classname != null) return getInstance(classname, type, p[i]); } throw new KeyStoreE...
22,791
public Dimension getViewSize() { if (isViewSizeSet) return viewSize; else return getView().getSize(); }
public Dimension getViewSize() { if (isViewSizeSet) return viewSize; else { Component view = getView(); if (view != null) return view.getPreferredSize(); else return new Dimension(); } }
22,792
private synchronized static ConnectionRunner getConnectionRunner() { if(freelist.size() == 0){ if(size < max_size){ ++size; ConnectionRunner a = new ConnectionRunner(group, new Integer(size).toString()); a.start(); freelist.add(a); }else while(freelist.size() == 0) try{ ConnectionRunnerPool.class....
private static synchronized ConnectionRunner getConnectionRunner() { if(freelist.size() == 0){ if(size < max_size){ ++size; ConnectionRunner a = new ConnectionRunner(group, new Integer(size).toString()); a.start(); freelist.add(a); }else while(freelist.size() == 0) try{ ConnectionRunnerPool.class....
22,793
addNotify(){ if (menuBar != null) menuBar.addNotify(); if (peer == null) peer = getToolkit ().createFrame (this); // We now know there's a Frame (us) with a live peer, so we can start the // fundamental queue and dispatch thread, by inserting a dummy event. if (parent != null && parent.isDisplayable()) fi...
addNotify(){ if (menuBar != null) menuBar.addNotify(); if (peer == null) peer = getToolkit ().createFrame (this); // We now know there's a Frame (us) with a live peer, so we can start the // fundamental queue and dispatch thread, by inserting a dummy event. if (parent != null && parent.isDisplayable()) fi...
22,794
public void removeNotify(){ if (menuBar != null) menuBar.removeNotify(); super.removeNotify(); // By now we've been disconnected from the peer, and the peer set to // null. This is formally the same as saying "we just became // un-displayable", so we wake up the event queue with a dummy event to // see if it'...
public void removeNotify(){ if (menuBar != null) menuBar.removeNotify(); super.removeNotify(); // By now we've been disconnected from the peer, and the peer set to // null. This is formally the same as saying "we just became // un-displayable", so we wake up the event queue with a dummy event to // see if it'...
22,795
protected void installDefaults() { LookAndFeel.installColorsAndFont(tabPane, "TabbedPane.background", "TabbedPane.foreground", "TabbedPane.font"); tabPane.setOpaque(false); highlight = UIManager.getColor("TabbedPane.highlight"); ligh...
protected void installDefaults() { LookAndFeel.installColorsAndFont(tabPane, "TabbedPane.background", "TabbedPane.foreground", "TabbedPane.font"); tabPane.setOpaque(false); highlight = UIManager.getColor("TabbedPane.highlight"); ligh...
22,796
protected void installDefaults() { LookAndFeel.installColorsAndFont(tabPane, "TabbedPane.background", "TabbedPane.foreground", "TabbedPane.font"); tabPane.setOpaque(false); highlight = UIManager.getColor("TabbedPane.highlight"); ligh...
protected void installDefaults() { LookAndFeel.installColorsAndFont(tabPane, "TabbedPane.background", "TabbedPane.foreground", "TabbedPane.font"); tabPane.setOpaque(false); highlight = UIManager.getColor("TabbedPane.highlight"); ligh...
22,797
public Dimension getPreferredScrollableViewportSize() { return null; }
public Dimension getPreferredScrollableViewportSize() { return getPreferredSize(); }
22,799
public int getScrollableBlockIncrement(Rectangle visible, int orientation, int direction) { return 0; }
public int getScrollableBlockIncrement(Rectangle visible, int orientation, int direction) { if (orientation == SwingConstants.HORIZONTAL) return visible.width; else if (orientation == SwingConstants.VERTICAL) return visible.height; else throw new IllegalArgumentException("o...
22,800
public int getScrollableUnitIncrement(Rectangle visible, int orientation, int direction) { return 0; }
public int getScrollableUnitIncrement(Rectangle visible, int orientation, int direction) { if (orientation == SwingConstants.HORIZONTAL) return visible.width / 10; else if (orientation == SwingConstants.VERTICAL) return visible.height / 10; else throw new IllegalArgumentExce...
22,801
public boolean implies(Permission p) { if (! (p instanceof FilePermission)) return false; String f1 = getName(); if (f1.equals(ALL_FILES)) return true; FilePermission fp = (FilePermission) p; String f2 = fp.getName(); if (f1.charAt(0) != File.separatorChar) f1 = CURRENT_DIRECTOR...
public boolean implies(Permission p) { if (! (p instanceof FilePermission)) return false; String f1 = getName(); if (f1.equals(ALL_FILES)) return true; FilePermission fp = (FilePermission) p; String f2 = fp.getName(); if (f1.charAt(0) != File.separatorChar) f1 = CURRENT_DIRECTOR...
22,804
public boolean implies(Permission p) { if (! (p instanceof FilePermission)) return false; String f1 = getName(); if (f1.equals(ALL_FILES)) return true; FilePermission fp = (FilePermission) p; String f2 = fp.getName(); if (f1.charAt(0) != File.separatorChar) f1 = CURRENT_DIRECTOR...
public boolean implies(Permission p) { if (! (p instanceof FilePermission)) return false; String f1 = getName(); if (f1.equals(ALL_FILES)) return true; FilePermission fp = (FilePermission) p; String f2 = fp.getName(); if (f1.charAt(0) != File.separatorChar) f1 = CURRENT_DIRECTOR...
22,805
public boolean implies(Permission p) { if (! (p instanceof FilePermission)) return false; String f1 = getName(); if (f1.equals(ALL_FILES)) return true; FilePermission fp = (FilePermission) p; String f2 = fp.getName(); if (f1.charAt(0) != File.separatorChar) f1 = CURRENT_DIRECTOR...
public boolean implies(Permission p) { if (! (p instanceof FilePermission)) return false; String f1 = getName(); if (f1.equals(ALL_FILES)) return true; FilePermission fp = (FilePermission) p; String f2 = fp.getName(); if (f1.charAt(0) != File.separatorChar) f1 = CURRENT_DIRECTOR...
22,806
public boolean implies(Permission p) { if (! (p instanceof FilePermission)) return false; String f1 = getName(); if (f1.equals(ALL_FILES)) return true; FilePermission fp = (FilePermission) p; String f2 = fp.getName(); if (f1.charAt(0) != File.separatorChar) f1 = CURRENT_DIRECTOR...
public boolean implies(Permission p) { if (! (p instanceof FilePermission)) return false; String f1 = getName(); if (f1.equals(ALL_FILES)) return true; FilePermission fp = (FilePermission) p; String f2 = fp.getName(); if (f1.charAt(0) != File.separatorChar) f1 = CURRENT_DIRECTOR...
22,807
public boolean implies(Permission p) { if (! (p instanceof FilePermission)) return false; String f1 = getName(); if (f1.equals(ALL_FILES)) return true; FilePermission fp = (FilePermission) p; String f2 = fp.getName(); if (f1.charAt(0) != File.separatorChar) f1 = CURRENT_DIRECTOR...
public boolean implies(Permission p) { if (! (p instanceof FilePermission)) return false; String f1 = getName(); if (f1.equals(ALL_FILES)) return true; FilePermission fp = (FilePermission) p; String f2 = fp.getName(); if (f1.charAt(0) != File.separatorChar) f1 = CURRENT_DIRECTOR...
22,808
public boolean implies(Permission p) { if (! (p instanceof FilePermission)) return false; String f1 = getName(); if (f1.equals(ALL_FILES)) return true; FilePermission fp = (FilePermission) p; String f2 = fp.getName(); if (f1.charAt(0) != File.separatorChar) f1 = CURRENT_DIRECTOR...
public boolean implies(Permission p) { if (! (p instanceof FilePermission)) return false; String f1 = getName(); if (f1.equals(ALL_FILES)) return true; FilePermission fp = (FilePermission) p; String f2 = fp.getName(); if (f1.charAt(0) != File.separatorChar) f1 = CURRENT_DIRECTOR...
22,809
public void installUI(JComponent c) { c.setOpaque(true); c.setBackground(UIManager.getColor("control")); super.installUI(c); }
public void installUI(JComponent c) { c.setBackground(UIManager.getColor("control")); super.installUI(c); }
22,810
public void editingCanceled(ChangeEvent e) { editingPath = null; editingRow = -1; stopEditingInCompleteEditing = false; if (editingComponent != null) tree.remove(editingComponent.getParent()); editingComponent = null; if (cellEditor != null) { if (cellEditor i...
public void editingCanceled(ChangeEvent e) { editingPath = null; editingRow = -1; stopEditingInCompleteEditing = false; if (editingComponent != null) tree.remove(editingComponent.getParent()); editingComponent = null; if (cellEditor != null) { if (cellEditor i...
22,811
public void editingStopped(ChangeEvent e) { editingPath = null; editingRow = -1; stopEditingInCompleteEditing = false; if (editingComponent != null) { tree.remove(editingComponent.getParent()); editingComponent = null; } if (cellEditor != null) { ...
public void editingStopped(ChangeEvent e) { editingPath = null; editingRow = -1; stopEditingInCompleteEditing = false; if (editingComponent != null) { tree.remove(editingComponent.getParent()); editingComponent = null; } if (cellEditor != null) { ...
22,812
public void actionPerformed(ActionEvent e) { TreePath lead = tree.getLeadSelectionPath(); if (e.getActionCommand().equals("selectPreviousChangeLead") || e.getActionCommand().equals("selectPreviousExtendSelection") || e.getActionCommand().equals("selectPrevious") || e.getActio...
public void actionPerformed(ActionEvent e) { TreePath lead = tree.getLeadSelectionPath(); if (e.getActionCommand().equals("selectPreviousChangeLead") || e.getActionCommand().equals("selectPreviousExtendSelection") || e.getActionCommand().equals("selectPrevious") || e.getActio...
22,814
public void valueChanged(TreeSelectionEvent event) { if (tree.isEditing()) tree.cancelEditing(); }
public void valueChanged(TreeSelectionEvent event) { if (tree.isEditing()) tree.stopEditing(); }
22,815
public void cancelEditing(JTree tree) { if (isEditing(tree)) completeEditing(false, true, false); }
public void cancelEditing(JTree tree) { if (isEditing(tree)) completeEditing(false, true, false); }
22,816
protected void installDefaults() { LookAndFeel.installColorsAndFont(tree, "Tree.background", "Tree.foreground", "Tree.font"); tree.setOpaque(true); rightChildIndent = UIManager.getInt("Tree.rightChildIndent"); leftChildIndent = UIManager.getInt("Tree.leftChildIndent");...
protected void installDefaults() { LookAndFeel.installColorsAndFont(tree, "Tree.background", "Tree.foreground", "Tree.font"); tree.setOpaque(true); rightChildIndent = UIManager.getInt("Tree.rightChildIndent"); leftChildIndent = UIManager.getInt("Tree.leftChildIndent");...
22,817
protected void paintRow(Graphics g, Rectangle clipBounds, Insets insets, Rectangle bounds, TreePath path, int row, boolean isExpanded, boolean hasBeenExpanded, boolean isLeaf) { boolean selected = tree.isPathSelected(path); boolean hasI...
protected void paintRow(Graphics g, Rectangle clipBounds, Insets insets, Rectangle bounds, TreePath path, int row, boolean isExpanded, boolean hasBeenExpanded, boolean isLeaf) { boolean selected = tree.isPathSelected(path); boolean hasI...
22,818
protected void paintRow(Graphics g, Rectangle clipBounds, Insets insets, Rectangle bounds, TreePath path, int row, boolean isExpanded, boolean hasBeenExpanded, boolean isLeaf) { boolean selected = tree.isPathSelected(path); boolean hasI...
protected void paintRow(Graphics g, Rectangle clipBounds, Insets insets, Rectangle bounds, TreePath path, int row, boolean isExpanded, boolean hasBeenExpanded, boolean isLeaf) { boolean selected = tree.isPathSelected(path); boolean hasI...
22,819
protected void paintRow(Graphics g, Rectangle clipBounds, Insets insets, Rectangle bounds, TreePath path, int row, boolean isExpanded, boolean hasBeenExpanded, boolean isLeaf) { boolean selected = tree.isPathSelected(path); boolean hasI...
protected void paintRow(Graphics g, Rectangle clipBounds, Insets insets, Rectangle bounds, TreePath path, int row, boolean isExpanded, boolean hasBeenExpanded, boolean isLeaf) { boolean selected = tree.isPathSelected(path); boolean hasI...
22,820
protected void paintRow(Graphics g, Rectangle clipBounds, Insets insets, Rectangle bounds, TreePath path, int row, boolean isExpanded, boolean hasBeenExpanded, boolean isLeaf) { boolean selected = tree.isPathSelected(path); boolean hasI...
protected void paintRow(Graphics g, Rectangle clipBounds, Insets insets, Rectangle bounds, TreePath path, int row, boolean isExpanded, boolean hasBeenExpanded, boolean isLeaf) { boolean selected = tree.isPathSelected(path); boolean hasI...
22,821
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(); Tr...
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(); Tr...
22,822
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(); Tr...
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(); Tr...
22,823
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(); Tr...
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(); Tr...
22,824
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(); Tr...
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(); Tr...
22,825
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(); Tr...
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(); Tr...
22,826
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(); Tr...
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(); Tr...
22,827
public boolean stopEditing(JTree tree) { if (isEditing(tree)) completeEditing(true, false, false); return !isEditing(tree); }
public boolean stopEditing(JTree tree) { if (isEditing(tree)) { completeEditing(false, false, true); finish(); } return !isEditing(tree); }
22,828
public void openFrame(JInternalFrame frame);
public void openFrame(JInternalFrame frame);
22,830
public void setBoundsForFrame(JComponent frame, int x, int y, int width, int height);
void setBoundsForFrame(JComponent frame, int x, int y, int width, int height);
22,831
public void mouseDragged(MouseEvent e) { curr = new Point(e.getX(), e.getY()); updateSelection(); }
public void mouseDragged(MouseEvent e) { curr = new Point(e.getX(), e.getY()); updateSelection(e.isControlDown()); }
22,832
public void mousePressed(MouseEvent e) { begin = new Point(e.getX(), e.getY()); curr = new Point(e.getX(), e.getY()); updateSelection(); }
public void mousePressed(MouseEvent e) { begin = new Point(e.getX(), e.getY()); curr = new Point(e.getX(), e.getY()); updateSelection(e.isControlDown()); }
22,833
private void updateSelection() { if (table.getRowSelectionAllowed()) { int lo_row = table.rowAtPoint(begin); int hi_row = table.rowAtPoint(curr); ListSelectionModel rowModel = table.getSelectionModel(); if (lo_row != -1 && hi_row != -1) rowModel.setSele...
private void updateSelection(boolean controlPressed) { if (table.getRowSelectionAllowed()) { int lo_row = table.rowAtPoint(begin); int hi_row = table.rowAtPoint(curr); ListSelectionModel rowModel = table.getSelectionModel(); if (lo_row != -1 && hi_row != -1) ...
22,834
protected static String toIDL(String cn) { if (cn.startsWith(JAVA_PREFIX)) cn = cn.substring(JAVA_PREFIX.length()); cn = cn.replace('.', '/'); return "IDL:" + OMG_PREFIX + cn + ":1.0"; }
public static String toIDL(String cn) { if (cn.startsWith(JAVA_PREFIX)) cn = cn.substring(JAVA_PREFIX.length()); cn = cn.replace('.', '/'); return "IDL:" + OMG_PREFIX + cn + ":1.0"; }
22,838
protected static String toIDL(String cn) { if (cn.startsWith(JAVA_PREFIX)) cn = cn.substring(JAVA_PREFIX.length()); cn = cn.replace('.', '/'); return "IDL:" + OMG_PREFIX + cn + ":1.0"; }
protected static String toIDL(String cn) { if (cn.startsWith(JAVA_PREFIX)) cn = OMG_PREFIX + cn.substring(JAVA_PREFIX.length()).replace('.', '/'); else if (cn.startsWith(CLASSPATH_PREFIX)) cn = OMG_PREFIX + cn.substring(CLASSPATH_PREFIX.length()).replace('.', '/'); cn = cn.replace('.', '/'); return "ID...
22,839
protected static String toIDL(String cn) { if (cn.startsWith(JAVA_PREFIX)) cn = cn.substring(JAVA_PREFIX.length()); cn = cn.replace('.', '/'); return "IDL:" + OMG_PREFIX + cn + ":1.0"; }
protected static String toIDL(String cn) { if (cn.startsWith(JAVA_PREFIX)) cn = cn.substring(JAVA_PREFIX.length()); cn = cn.replace('.', '/'); return "IDL:" + OMG_PREFIX + cn + ":1.0"; }
22,840
public Ext2FSEntryIterator(INode iNode)throws IOException { //read itself as a file Ext2File directoryFile = new Ext2File(iNode); //read the whole directory data = new byte[(int)directoryFile.getLength()]; directoryFile.read(0, data, 0, (int)directoryFile.getLength()); index = 0; }
public Ext2FSEntryIterator(INode iNode)throws IOException { //read itself as a file Ext2File directoryFile = new Ext2File(iNode); //read the whole directory data = new byte[(int)directoryFile.getLength()]; directoryFile.read(0, data, 0, (int)directoryFile.getLength()); index = 0; }
22,841
public boolean hasNext() { Ext2DirectoryRecord dr=null; Ext2FileSystem fs = (Ext2FileSystem) getFileSystem(); try{ do { if(index>=iNode.getSize()) return false; dr = new Ext2DirectoryRecord(fs, data, index, index); index+=dr.getRecLen(); } while(dr.getINodeNr()==0); //inode nr=0 m...
public boolean hasNext() { Ext2DirectoryRecord dr=null; Ext2FileSystem fs = (Ext2FileSystem) getFileSystem(); try{ do { if(index>=iNode.getSize()) return false; dr = new Ext2DirectoryRecord(fs, data, index, index); index+=dr.getRecLen(); } while(dr.getINodeNr()==0); //inode nr=0 m...
22,842
public FSEntry next() { if(current == null) { //hasNext actually reads the next element if(!hasNext()) throw new NoSuchElementException(); } Ext2DirectoryRecord dr = current; Ext2FileSystem fs = (Ext2FileSystem) getFileSystem(); current = null; try{ return new Ext2Entry( ((Ext2FileSy...
public FSEntry next() { if(current == null) { //hasNext actually reads the next element if(!hasNext()) throw new NoSuchElementException(); } Ext2DirectoryRecord dr = current; Ext2FileSystem fs = (Ext2FileSystem) getFileSystem(); current = null; try{ return new Ext2Entry( ((Ext2FileSy...
22,843
protected Ext2DirectoryRecord nextDirectoryRecord() { if(current == null) { //hasNext actually reads the next element if(!hasNext()) throw new NoSuchElementException(); } Ext2DirectoryRecord dr = current; current = null; return dr; }
protected Ext2DirectoryRecord nextDirectoryRecord() { if(current == null) { //hasNext actually reads the next element if(!hasNext()) throw new NoSuchElementException(); } Ext2DirectoryRecord dr = current; current = null; return dr; }
22,844
public Ext2Directory(Ext2Entry entry) throws IOException { super((Ext2FileSystem) entry.getFileSystem()); this.iNode = entry.getINode(); Ext2FileSystem fs = (Ext2FileSystem) entry.getFileSystem(); this.entry = entry; log.setLevel(Level.DEBUG); boolean readOnly; if((iNode.getFlags() & Ext2Constants.EXT2_INDEX_...
public Ext2Directory(Ext2Entry entry) throws IOException { super((Ext2FileSystem) entry.getFileSystem()); this.iNode = entry.getINode(); Ext2FileSystem fs = (Ext2FileSystem) entry.getFileSystem(); this.entry = entry; log.setLevel(Level.DEBUG); boolean readOnly; if((iNode.getFlags() & Ext2Constants.EXT2_INDEX_...
22,845
private void addDirectoryRecord(Ext2DirectoryRecord dr) throws IOException, FileSystemException{ //synchronize to the inode cache to make sure that the inode does not get //flushed between reading it and locking it synchronized(((Ext2FileSystem)getFileSystem()).getInodeCache()) { //reread the inode before synchro...
private void addDirectoryRecord(Ext2DirectoryRecord dr) throws IOException, FileSystemException{ //synchronize to the inode cache to make sure that the inode does not get //flushed between reading it and locking it synchronized(((Ext2FileSystem)getFileSystem()).getInodeCache()) { //reread the inode before synchro...
22,846
private void addDirectoryRecord(Ext2DirectoryRecord dr) throws IOException, FileSystemException{ //synchronize to the inode cache to make sure that the inode does not get //flushed between reading it and locking it synchronized(((Ext2FileSystem)getFileSystem()).getInodeCache()) { //reread the inode before synchro...
private void addDirectoryRecord(Ext2DirectoryRecord dr) throws IOException, FileSystemException{ //synchronize to the inode cache to make sure that the inode does not get //flushed between reading it and locking it synchronized(((Ext2FileSystem)getFileSystem()).getInodeCache()) { //reread the inode before synchro...
22,847
protected FSEntry addINode(int iNodeNr, String linkName, int fileType) throws IOException { if(!canWrite()) throw new IOException("Filesystem or directory is mounted read-only!"); //TODO: access rights, file type, UID and GID should be passed through the FSDirectory interface Ext2DirectoryRecord dr; Ext2FileS...
protected FSEntry addINode(int iNodeNr, String linkName, int fileType) throws IOException { if(!canWrite()) throw new IOException("Filesystem or directory is mounted read-only!"); //TODO: access rights, file type, UID and GID should be passed through the FSDirectory interface Ext2DirectoryRecord dr; Ext2FileS...
22,848
protected FSEntry addINode(int iNodeNr, String linkName, int fileType) throws IOException { if(!canWrite()) throw new IOException("Filesystem or directory is mounted read-only!"); //TODO: access rights, file type, UID and GID should be passed through the FSDirectory interface Ext2DirectoryRecord dr; Ext2FileS...
protected FSEntry addINode(int iNodeNr, String linkName, int fileType) throws IOException { if(!canWrite()) throw new IOException("Filesystem or directory is mounted read-only!"); //TODO: access rights, file type, UID and GID should be passed through the FSDirectory interface Ext2DirectoryRecord dr; Ext2FileS...
22,849
public FSEntry createDirectoryEntry(String name) throws IOException { if(!canWrite()) throw new IOException("Filesystem or directory is mounted read-only!"); //create a new iNode for the file //TODO: access rights, file type, UID and GID should be passed through the FSDirectory interface INode newINode; Ext2Dir...
public FSEntry createDirectoryEntry(String name) throws IOException { if(!canWrite()) throw new IOException("Filesystem or directory is mounted read-only!"); //create a new iNode for the file //TODO: access rights, file type, UID and GID should be passed through the FSDirectory interface INode newINode; Ext2Dir...
22,850
public FSEntry createDirectoryEntry(String name) throws IOException { if(!canWrite()) throw new IOException("Filesystem or directory is mounted read-only!"); //create a new iNode for the file //TODO: access rights, file type, UID and GID should be passed through the FSDirectory interface INode newINode; Ext2Dir...
public FSEntry createDirectoryEntry(String name) throws IOException { if(!canWrite()) throw new IOException("Filesystem or directory is mounted read-only!"); //create a new iNode for the file //TODO: access rights, file type, UID and GID should be passed through the FSDirectory interface INode newINode; Ext2Dir...
22,851
public FSEntry createDirectoryEntry(String name) throws IOException { if(!canWrite()) throw new IOException("Filesystem or directory is mounted read-only!"); //create a new iNode for the file //TODO: access rights, file type, UID and GID should be passed through the FSDirectory interface INode newINode; Ext2Dir...
public FSEntry createDirectoryEntry(String name) throws IOException { if(!canWrite()) throw new IOException("Filesystem or directory is mounted read-only!"); //create a new iNode for the file //TODO: access rights, file type, UID and GID should be passed through the FSDirectory interface INode newINode; Ext2Dir...
22,852
public FSEntry createDirectoryEntry(String name) throws IOException { if(!canWrite()) throw new IOException("Filesystem or directory is mounted read-only!"); //create a new iNode for the file //TODO: access rights, file type, UID and GID should be passed through the FSDirectory interface INode newINode; Ext2Dir...
public FSEntry createDirectoryEntry(String name) throws IOException { if(!canWrite()) throw new IOException("Filesystem or directory is mounted read-only!"); //create a new iNode for the file //TODO: access rights, file type, UID and GID should be passed through the FSDirectory interface INode newINode; Ext2Dir...
22,853
public FSEntry createFileEntry(String name) throws IOException { if(!canWrite()) throw new IOException("Filesystem or directory is mounted read-only!"); //create a new iNode for the file //TODO: access rights, file type, UID and GID should be passed through the FSDirectory interface INode newINode; Ext2Director...
public FSEntry createFileEntry(String name) throws IOException { if(!canWrite()) throw new IOException("Filesystem or directory is mounted read-only!"); //create a new iNode for the file //TODO: access rights, file type, UID and GID should be passed through the FSDirectory interface INode newINode; Ext2Director...
22,854
public FSEntry createFileEntry(String name) throws IOException { if(!canWrite()) throw new IOException("Filesystem or directory is mounted read-only!"); //create a new iNode for the file //TODO: access rights, file type, UID and GID should be passed through the FSDirectory interface INode newINode; Ext2Director...
public FSEntry createFileEntry(String name) throws IOException { if(!canWrite()) throw new IOException("Filesystem or directory is mounted read-only!"); //create a new iNode for the file //TODO: access rights, file type, UID and GID should be passed through the FSDirectory interface INode newINode; Ext2Director...
22,855
public FSEntry createFileEntry(String name) throws IOException { if(!canWrite()) throw new IOException("Filesystem or directory is mounted read-only!"); //create a new iNode for the file //TODO: access rights, file type, UID and GID should be passed through the FSDirectory interface INode newINode; Ext2Director...
public FSEntry createFileEntry(String name) throws IOException { if(!canWrite()) throw new IOException("Filesystem or directory is mounted read-only!"); //create a new iNode for the file //TODO: access rights, file type, UID and GID should be passed through the FSDirectory interface INode newINode; Ext2Director...
22,856
public FSEntry createFileEntry(String name) throws IOException { if(!canWrite()) throw new IOException("Filesystem or directory is mounted read-only!"); //create a new iNode for the file //TODO: access rights, file type, UID and GID should be passed through the FSDirectory interface INode newINode; Ext2Director...
public FSEntry createFileEntry(String name) throws IOException { if(!canWrite()) throw new IOException("Filesystem or directory is mounted read-only!"); //create a new iNode for the file //TODO: access rights, file type, UID and GID should be passed through the FSDirectory interface INode newINode; Ext2Director...
22,857
private INode getINode() { return iNode; }
private INode getINode() { return iNode; }
22,858
protected FSEntryTable readEntries() throws IOException { Ext2FSEntryIterator it = new Ext2FSEntryIterator(iNode); ArrayList entries = new ArrayList(); while(it.hasNext()) { FSEntry entry = it.next(); log.debug("readEntries: entry="+FSUtils.toString(entry, false)); entries.add(entry); } FSEntryTable ta...
protected FSEntryTable readEntries() throws IOException { Ext2FSEntryIterator it = new Ext2FSEntryIterator(iNode); ArrayList entries = new ArrayList(); while(it.hasNext()) { FSEntry entry = it.next(); log.debug("readEntries: entry="+FSUtils.toString(entry, false)); entries.add(entry); } FSEntryTable ta...
22,859
int translateToBlock(long index) { return (int)(index / iNode.getExt2FileSystem().getBlockSize()); }
int translateToBlock(long index) { return (int)(index / iNode.getExt2FileSystem().getBlockSize()); }
22,860
int translateToOffset(long index) { return (int)(index % iNode.getExt2FileSystem().getBlockSize()); }
int translateToOffset(long index) { return (int)(index % iNode.getExt2FileSystem().getBlockSize()); }
22,861
protected void writeEntries(FSEntryTable table) throws IOException { //nothing to do because createFileEntry and createDirectoryEntry do the job }
protected void writeEntries(FSEntryTable table) throws IOException { //nothing to do because createFileEntry and createDirectoryEntry do the job }
22,862
public void installUI(JComponent c) { super.installUI(c); c.setLayout(new ViewportLayout()); installListeners(c); }
public void installUI(JComponent c) { super.installUI(c); installListeners(c); }
22,863
protected void installDefaults() { UIDefaults defaults = UIManager.getLookAndFeelDefaults(); menuItem.setBackground(defaults.getColor("Menu.background")); menuItem.setBorder(defaults.getBorder("Menu.border")); menuItem.setFont(defaults.getFont("Menu.font")); menuItem.setForeground(defaults.getColor("M...
protected void installDefaults() { UIDefaults defaults = UIManager.getLookAndFeelDefaults(); menuItem.setBackground(defaults.getColor("Menu.background")); menuItem.setBorder(defaults.getBorder("Menu.border")); menuItem.setFont(defaults.getFont("Menu.font")); menuItem.setForeground(defaults.getColor("M...
22,864
public ColorModel(int bits) { this(bits * 4, // total bits, sRGB, four channels nArray(bits, 4), // bits for each channel ColorSpace.getInstance(ColorSpace.CS_sRGB), // sRGB true, // has alpha false, // not premultiplied TRANSLUCENT, Buffers.smallestAppropriateTransferType(bits * 4)); }
public ColorModel(int bits) { this(bits * 4, // total bits, sRGB, four channels nArray(bits, 4), // bits for each channel ColorSpace.getInstance(ColorSpace.CS_sRGB), // sRGB true, // has alpha false, // not premultiplied TRANSLUCENT, Buffers.smallestAppropriateTransferType(bits * 4)); }
22,865
protected void initialize(Address start, Address end, int slotSize) { //Unsafe.debug("bootheap.initialize"); //Unsafe.debug("start"); Unsafe.debug(Unsafe.addressToInt(start)); //Unsafe.debug("end"); Unsafe.debug(Unsafe.addressToInt(end)); this.start = start; this.end = end; ...
protected void initialize(Address start, Address end, int slotSize) { //Unsafe.debug("bootheap.initialize"); //Unsafe.debug("start"); Unsafe.debug(Unsafe.addressToInt(start)); //Unsafe.debug("end"); Unsafe.debug(Unsafe.addressToInt(end)); this.start = start; this.end = end; ...
22,866
protected void initialize(Address start, Address end, int slotSize) { //Unsafe.debug("bootheap.initialize"); //Unsafe.debug("start"); Unsafe.debug(Unsafe.addressToInt(start)); //Unsafe.debug("end"); Unsafe.debug(Unsafe.addressToInt(end)); this.start = start; this.end = end; ...
protected void initialize(Address start, Address end, int slotSize) { //Unsafe.debug("bootheap.initialize"); //Unsafe.debug("start"); Unsafe.debug(Unsafe.addressToInt(start)); //Unsafe.debug("end"); Unsafe.debug(Unsafe.addressToInt(end)); this.start = start; this.end = end; ...
22,867
public void show() { synchronized (getTreeLock()) { if (parent != null && !parent.isDisplayable()) parent.addNotify(); if (peer == null) addNotify(); // Show visible owned windows. Iterator e = ownedWindows.iterator(); while(e.hasNext()) { Window w = (Window)(((Reference) e.next()).get...
public void show() { synchronized (getTreeLock()) { if (parent != null && ! parent.isDisplayable()) parent.addNotify(); if (peer == null) addNotify(); // Show visible owned windows. Iterator e = ownedWindows.iterator(); while(e.hasNext()) { Window w = (Window)(((Reference) e.next()).ge...
22,868
public void show() { synchronized (getTreeLock()) { if (parent != null && !parent.isDisplayable()) parent.addNotify(); if (peer == null) addNotify(); // Show visible owned windows. Iterator e = ownedWindows.iterator(); while(e.hasNext()) { Window w = (Window)(((Reference) e.next()).get...
public void show() { synchronized (getTreeLock()) { if (parent != null && !parent.isDisplayable()) parent.addNotify(); if (peer == null) addNotify(); // Show visible owned windows. Iterator e = ownedWindows.iterator(); while(e.hasNext()) { Window w = (Window)(((Reference) e.next()).get...
22,869
public void show() { synchronized (getTreeLock()) { if (parent != null && !parent.isDisplayable()) parent.addNotify(); if (peer == null) addNotify(); // Show visible owned windows. Iterator e = ownedWindows.iterator(); while(e.hasNext()) { Window w = (Window)(((Reference) e.next()).get...
public void show() { synchronized (getTreeLock()) { if (parent != null && !parent.isDisplayable()) parent.addNotify(); if (peer == null) addNotify(); // Show visible owned windows. Iterator e = ownedWindows.iterator(); while(e.hasNext()) { Window w = (Window)(((Reference) e.next()).get...
22,870
public void show() { synchronized (getTreeLock()) { if (parent != null && !parent.isDisplayable()) parent.addNotify(); if (peer == null) addNotify(); // Show visible owned windows. Iterator e = ownedWindows.iterator(); while(e.hasNext()) { Window w = (Window)(((Reference) e.next()).get...
public void show() { synchronized (getTreeLock()) { if (parent != null && !parent.isDisplayable()) parent.addNotify(); if (peer == null) addNotify(); // Show visible owned windows. Iterator e = ownedWindows.iterator(); while(e.hasNext()) { Window w = (Window)(((Reference) e.next()).get...
22,871
public void show() { synchronized (getTreeLock()) { if (parent != null && !parent.isDisplayable()) parent.addNotify(); if (peer == null) addNotify(); // Show visible owned windows. Iterator e = ownedWindows.iterator(); while(e.hasNext()) { Window w = (Window)(((Reference) e.next()).get...
public void show() { synchronized (getTreeLock()) { if (parent != null && !parent.isDisplayable()) parent.addNotify(); if (peer == null) addNotify(); // Show visible owned windows. Iterator e = ownedWindows.iterator(); while(e.hasNext()) { Window w = (Window)(((Reference) e.next()).get...
22,872
public void show() { synchronized (getTreeLock()) { if (parent != null && !parent.isDisplayable()) parent.addNotify(); if (peer == null) addNotify(); // Show visible owned windows. Iterator e = ownedWindows.iterator(); while(e.hasNext()) { Window w = (Window)(((Reference) e.next()).get...
public void show() { synchronized (getTreeLock()) { if (parent != null && !parent.isDisplayable()) parent.addNotify(); if (peer == null) addNotify(); // Show visible owned windows. Iterator e = ownedWindows.iterator(); while(e.hasNext()) { Window w = (Window)(((Reference) e.next()).get...
22,873
public void show() { synchronized (getTreeLock()) { if (parent != null && !parent.isDisplayable()) parent.addNotify(); if (peer == null) addNotify(); // Show visible owned windows. Iterator e = ownedWindows.iterator(); while(e.hasNext()) { Window w = (Window)(((Reference) e.next()).get...
public void show() { synchronized (getTreeLock()) { if (parent != null && !parent.isDisplayable()) parent.addNotify(); if (peer == null) addNotify(); // Show visible owned windows. Iterator e = ownedWindows.iterator(); while(e.hasNext()) { Window w = (Window)(((Reference) e.next()).get...
22,874
public void show() { synchronized (getTreeLock()) { if (parent != null && !parent.isDisplayable()) parent.addNotify(); if (peer == null) addNotify(); // Show visible owned windows. Iterator e = ownedWindows.iterator(); while(e.hasNext()) { Window w = (Window)(((Reference) e.next()).get...
public void show() { synchronized (getTreeLock()) { if (parent != null && !parent.isDisplayable()) parent.addNotify(); if (peer == null) addNotify(); // Show visible owned windows. Iterator e = ownedWindows.iterator(); while(e.hasNext()) { Window w = (Window)(((Reference) e.next()).get...
22,875
public boolean prepareImage(Image img, int width, int height, ImageObserver ob) { Component parent = awtComponent.getParent(); ComponentPeer parentPeer = parent.getPeer(); return parentPeer.prepareImage(img, width, height, ob); }
public boolean prepareImage(Image img, int width, int height, ImageObserver ob) { Component parent = awtComponent.getParent(); ComponentPeer parentPeer = parent.getPeer(); res = parentPeer.prepareImage(img, width, height, ob); } else { res = Toolkit.getDefaultToolkit().prepareImage(img, width, height, ob); ...
22,876
public DefaultTreeCellRenderer() { UIDefaults defaults = UIManager.getLookAndFeelDefaults(); setLeafIcon(getDefaultLeafIcon()); setOpenIcon(getDefaultOpenIcon()); setClosedIcon(getDefaultClosedIcon()); setTextNonSelectionColor(defaults.getColor("Tree.textForegro...
public DefaultTreeCellRenderer() { UIDefaults defaults = UIManager.getLookAndFeelDefaults(); setLeafIcon(getDefaultLeafIcon()); setOpenIcon(getDefaultOpenIcon()); setClosedIcon(getDefaultClosedIcon()); setTextNonSelectionColor(defaults.getColor("Tree.textForegro...
22,877
public Component getTreeCellRendererComponent(JTree tree, Object val, boolean selected, boolean expanded, boolean leaf, int row, boolean hasFocus) { this.selected = selected; this.hasFocus = hasFocus; setText(val.toString()); setHorizontalAlignment(LEFT); setOpaque(true); ...
public Component getTreeCellRendererComponent(JTree tree, Object val, boolean selected, boolean expanded, boolean leaf, int row, boolean hasFocus) { this.selected = selected; this.hasFocus = hasFocus; setText(val.toString()); setHorizontalAlignment(LEFT); setOpaque(true); ...
22,878
public Component getTreeCellRendererComponent(JTree tree, Object val, boolean selected, boolean expanded, boolean leaf, int row, boolean hasFocus) { this.selected = selected; this.hasFocus = hasFocus; setText(val.toString()); setHorizontalAlignment(LEFT); setOpaque(true); ...
public Component getTreeCellRendererComponent(JTree tree, Object val, boolean selected, boolean expanded, boolean leaf, int row, boolean hasFocus) { this.selected = selected; this.hasFocus = hasFocus; setText(val.toString()); setHorizontalAlignment(LEFT); setOpaque(true); ...
22,879
public void paint(Graphics g, JComponent c) { JLabel b = (JLabel) c; Font saved_font = g.getFont(); Rectangle tr = new Rectangle(); Rectangle ir = new Rectangle(); Rectangle vr = new Rectangle(); Font f = c.getFont(); g.setFont(f); FontMetrics fm = g.getFontMetrics(f); vr = SwingUtilities....
public void paint(Graphics g, JComponent c) { JLabel b = (JLabel) c; Font saved_font = g.getFont(); Rectangle tr = new Rectangle(); Rectangle ir = new Rectangle(); Rectangle vr = new Rectangle(); Font f = c.getFont(); g.setFont(f); FontMetrics fm = g.getFontMetrics(f); vr = SwingUtilities....
22,881
public Dimension getMaximumSize(JComponent c) { return null; }
public Dimension getMaximumSize(JComponent c) { return c.getPreferredSize(); }
22,883
protected void installKeyboardActions(JScrollPane sp) throws NotImplementedException { // TODO: Is this only a hook method or should we actually do something // here? If the latter, than figure out what and implement this. }
protected void installKeyboardActions(JScrollPane sp) { // TODO: Is this only a hook method or should we actually do something // here? If the latter, than figure out what and implement this. }
22,884
protected void installKeyboardActions(JScrollPane sp) throws NotImplementedException { // TODO: Is this only a hook method or should we actually do something // here? If the latter, than figure out what and implement this. }
InputMap keyMap = getInputMap( JComponent.WHEN_ANCESTOR_OF_FOCUSED_COMPONENT); SwingUtilities.replaceUIInputMap(sp, JComponent.WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, keyMap); ActionMap map = getActionMap(); SwingUtilities.replaceUIActionMap(sp, map); protected void installKeyboardActions(JScrollPane sp)InputMap keyMap = g...
22,885
protected void uninstallKeyboardActions(JScrollPane sp) throws NotImplementedException { // TODO: Is this only a hook method or should we actually do something // here? If the latter, than figure out what and implement this. }
protected void uninstallKeyboardActions(JScrollPane sp) { // TODO: Is this only a hook method or should we actually do something // here? If the latter, than figure out what and implement this. }
22,886
protected void uninstallKeyboardActions(JScrollPane sp) throws NotImplementedException { // TODO: Is this only a hook method or should we actually do something // here? If the latter, than figure out what and implement this. }
SwingUtilities.replaceUIActionMap(sp, null); SwingUtilities.replaceUIInputMap(sp, JComponent.WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, null); protected void uninstallKeyboardActions(JScrollPane sp)SwingUtilities.replaceUIActionMap(sp, null); SwingUtilities.replaceUIInputMap(sp, JComponent.WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, ...
22,887
private IIORegistry() { super(defaultCategories.iterator()); // XXX: Register built-in Spis here. ((ClasspathToolkit)Toolkit.getDefaultToolkit()).registerImageIOSpis(this); registerApplicationClasspathSpis(); }
private IIORegistry() { super(defaultCategories.iterator()); // XXX: Register built-in Spis here. Toolkit toolkit = Toolkit.getDefaultToolkit(); if (toolkit instanceof ClasspathToolkit) ((ClasspathToolkit)toolkit).registerImageIOSpis(this); registerApplicationClasspathSpis(); }
22,889
public PolicyListHolder(Policy[] initialValue) { value = initialValue; }
public PolicyListHolder() { value = initialValue; }
22,891
public PolicyListHolder(Policy[] initialValue) { value = initialValue; }
public PolicyListHolder(Policy[] initialValue) { }
22,892
public static SortedMap availableCharsets() { TreeMap charsets = new TreeMap(String.CASE_INSENSITIVE_ORDER); CharsetProvider[] providers = providers(); for (int j = 0; j < providers.length; j++) { for (Iterator i = providers[j].charsets(); i.hasNext(); ) { Charset cs = (Charset) i.ne...
public static SortedMap availableCharsets() { TreeMap charsets = new TreeMap(String.CASE_INSENSITIVE_ORDER); CharsetProvider[] providers = providers2(); for (int j = 0; j < providers.length; j++) { for (Iterator i = providers[j].charsets(); i.hasNext(); ) { Charset cs = (Charset) i.n...
22,893
private static Charset charsetForName(String charsetName) { checkName (charsetName); Charset cs = null; CharsetProvider[] providers = providers(); for (int i = 0; i < providers.length; i++) { cs = providers[i].charsetForName(charsetName); if (cs != null) break; } return cs; }
private static Charset charsetForName(String charsetName) { checkName (charsetName); Charset cs = null; CharsetProvider[] providers = providers2(); for (int i = 0; i < providers.length; i++) { cs = providers[i].charsetForName(charsetName); if (cs != null) break; } return cs; }
22,894
public static Charset defaultCharset() { String encoding; try { encoding = System.getProperty("file.encoding"); } catch(SecurityException e) { encoding = "ISO-8859-1"; } catch(IllegalArgumentException e) { encoding = "ISO-8859-1"; } try { return forName(encoding); } catch(Unsu...
public static Charset defaultCharset() { String encoding; try { encoding = System.getProperty("file.encoding"); } catch(SecurityException e) { encoding = "ISO-8859-1"; } catch(IllegalArgumentException e) { encoding = "ISO-8859-1"; } try { return forName(encoding); } catch(Unsu...
22,895
public static Charset defaultCharset() { String encoding; try { encoding = System.getProperty("file.encoding"); } catch(SecurityException e) { encoding = "ISO-8859-1"; } catch(IllegalArgumentException e) { encoding = "ISO-8859-1"; } try { return forName(encoding); } catch(Unsu...
public static Charset defaultCharset() { String encoding; try { encoding = System.getProperty("file.encoding"); } catch(SecurityException e) { encoding = "ISO-8859-1"; } catch(IllegalArgumentException e) { encoding = "ISO-8859-1"; } try { return forName(encoding); } catch(Unsu...
22,896
public static Charset defaultCharset() { String encoding; try { encoding = System.getProperty("file.encoding"); } catch(SecurityException e) { encoding = "ISO-8859-1"; } catch(IllegalArgumentException e) { encoding = "ISO-8859-1"; } try { return forName(encoding); } catch(Unsu...
public static Charset defaultCharset() { String encoding; try { encoding = System.getProperty("file.encoding"); } catch(SecurityException e) { encoding = "ISO-8859-1"; } catch(IllegalArgumentException e) { encoding = "ISO-8859-1"; } try { return forName(encoding); } catch(Unsu...
22,897
static Object allocateObject (Class clazz) throws InstantiationException { // TODO implement me return null; }
static Object allocateObject (Class clazzClass, Class constr_clazz, Constructor constructor) throws InstantiationException { // TODO implement me return null; }
22,900
protected void paintFocus(Graphics g, Rectangle t, Dimension d) { g.setColor(focusColor); g.drawRect(t.x - 1, t.y + 2, t.width + 2, t.height - 4); }
protected void paintFocus(Graphics g, Rectangle t, Dimension d) { g.setColor(focusColor); g.drawRect(t.x - 1, t.y - 1, t.width + 2, t.height + 2); }
22,901