bugged stringlengths 6 599k | fixed stringlengths 10 599k | __index_level_0__ int64 0 1.13M |
|---|---|---|
public CacheEvent(Object source, int type) { super(source); this.eventType = type; } | public CacheEvent(Object source, int type) { super(source); } | 2,646 |
protected LayoutManager createLayoutManager() { return new TabbedPaneLayout(); } | protected LayoutManager createLayoutManager() { return (tabPane.getTabLayoutPolicy() == JTabbedPane.WRAP_TAB_LAYOUT) ? new MetalTabbedPaneUI.TabbedPaneLayout() : super.createLayoutManager(); } | 2,647 |
protected void paintBottomTabBorder(int tabIndex, Graphics g, int x, int y, int w, int h, int btm, int rght, boolean isSelected) { int bottom = h - 1; int right = w - 1; int tabCount = tabPane.getTabCount(); int currentRun = getRunForTab(tabCount, tabIndex); // Paint gap if necessary. if (shou... | protected void paintBottomTabBorder(int tabIndex, Graphics g, int x, int y, int w, int h, int btm, int rght, boolean isSelected) { int bottom = h - 1; int right = w - 1; int tabCount = tabPane.getTabCount(); int currentRun = getRunForTab(tabCount, tabIndex); // Paint gap if necessary. if (shou... | 2,648 |
protected void paintContentBorderLeftEdge(Graphics g, int tabPlacement, int selectedIndex, int x, int y, int w, int h) { boolean isOcean = MetalLookAndFeel.getCurrentTheme() instanceof OceanTheme; Color oceanSelectedBorder = ... | protected void paintContentBorderLeftEdge(Graphics g, int tabPlacement, int selectedIndex, int x, int y, int w, int h) { boolean isOcean = MetalLookAndFeel.getCurrentTheme() instanceof OceanTheme; Color oceanSelectedBorder = ... | 2,649 |
protected void paintLeftTabBorder(int tabIndex, Graphics g, int x, int y, int w, int h, int btm, int rght, boolean isSelected) { g.translate(x, y); int bottom = h - 1; int right = w - 1; int tabCount = tabPane.getTabCount(); int currentRun = getRunForTab(tabCount, tabIndex); int firstIndex... | protected void paintLeftTabBorder(int tabIndex, Graphics g, int x, int y, int w, int h, int btm, int rght, boolean isSelected) { g.translate(x, y); int bottom = h - 1; int right = w - 1; int tabCount = tabPane.getTabCount(); int currentRun = getRunForTab(tabCount, tabIndex); int firstIndex... | 2,650 |
protected void paintLeftTabBorder(int tabIndex, Graphics g, int x, int y, int w, int h, int btm, int rght, boolean isSelected) { g.translate(x, y); int bottom = h - 1; int right = w - 1; int tabCount = tabPane.getTabCount(); int currentRun = getRunForTab(tabCount, tabIndex); int firstIndex... | protected void paintLeftTabBorder(int tabIndex, Graphics g, int x, int y, int w, int h, int btm, int rght, boolean isSelected) { g.translate(x, y); int bottom = h - 1; int right = w - 1; int tabCount = tabPane.getTabCount(); int currentRun = getRunForTab(tabCount, tabIndex); int firstIndex... | 2,651 |
protected void paintRightTabBorder(int tabIndex, Graphics g, int x, int y, int w, int h, int btm, int rght, boolean isSelected) { g.translate(x, y); int bottom = h - 1; int right = w - 1; int tabCount = tabPane.getTabCount(); int currentRun = getRunForTab(tabCount, tabIndex); int firstIndex = ... | protected void paintRightTabBorder(int tabIndex, Graphics g, int x, int y, int w, int h, int btm, int rght, boolean isSelected) { g.translate(x, y); int bottom = h - 1; int right = w - 1; int tabCount = tabPane.getTabCount(); int currentRun = getRunForTab(tabCount, tabIndex); int firstIndex = ... | 2,652 |
protected void paintRightTabBorder(int tabIndex, Graphics g, int x, int y, int w, int h, int btm, int rght, boolean isSelected) { g.translate(x, y); int bottom = h - 1; int right = w - 1; int tabCount = tabPane.getTabCount(); int currentRun = getRunForTab(tabCount, tabIndex); int firstIndex = ... | protected void paintRightTabBorder(int tabIndex, Graphics g, int x, int y, int w, int h, int btm, int rght, boolean isSelected) { g.translate(x, y); int bottom = h - 1; int right = w - 1; int tabCount = tabPane.getTabCount(); int currentRun = getRunForTab(tabCount, tabIndex); int firstIndex = ... | 2,653 |
public void actionPerformed(ActionEvent e) { if (e.getActionCommand().equals("XTFR") || e.getActionCommand().equals("EMAIL")) { saveXTFRFields(); if (e.getActionCommand().equals("EMAIL")) emailIt = true; else emailIt = false; initializeMonit... | public void actionPerformed(ActionEvent e) { if (e.getActionCommand().equals("XTFR") || e.getActionCommand().equals("EMAIL")) { saveXTFRFields(); if (e.getActionCommand().equals("EMAIL")) emailIt = true; else emailIt = false; initializeMonit... | 2,654 |
public void actionPerformed(ActionEvent e) { if (e.getActionCommand().equals("XTFR") || e.getActionCommand().equals("EMAIL")) { saveXTFRFields(); if (e.getActionCommand().equals("EMAIL")) emailIt = true; else emailIt = false; initializeMonit... | public void actionPerformed(ActionEvent e) { if (e.getActionCommand().equals("XTFR") || e.getActionCommand().equals("EMAIL")) { saveXTFRFields(); if (e.getActionCommand().equals("EMAIL")) emailIt = true; else emailIt = false; initializeMonit... | 2,655 |
public void actionPerformed(ActionEvent e) { if (e.getActionCommand().equals("XTFR") || e.getActionCommand().equals("EMAIL")) { saveXTFRFields(); if (e.getActionCommand().equals("EMAIL")) emailIt = true; else emailIt = false; initializeMonit... | public void actionPerformed(ActionEvent e) { if (e.getActionCommand().equals("XTFR") || e.getActionCommand().equals("EMAIL")) { saveXTFRFields(); if (e.getActionCommand().equals("EMAIL")) emailIt = true; else emailIt = false; initializeMonit... | 2,656 |
public void actionPerformed(ActionEvent e) { if (e.getActionCommand().equals("XTFR") || e.getActionCommand().equals("EMAIL")) { saveXTFRFields(); if (e.getActionCommand().equals("EMAIL")) emailIt = true; else emailIt = false; initializeMonit... | public void actionPerformed(ActionEvent e) { if (e.getActionCommand().equals("XTFR") || e.getActionCommand().equals("EMAIL")) { saveXTFRFields(); if (e.getActionCommand().equals("EMAIL")) emailIt = true; else emailIt = false; initializeMonit... | 2,657 |
public void actionPerformed(ActionEvent e) { if (e.getActionCommand().equals("XTFR") || e.getActionCommand().equals("EMAIL")) { saveXTFRFields(); if (e.getActionCommand().equals("EMAIL")) emailIt = true; else emailIt = false; initializeMonit... | public void actionPerformed(ActionEvent e) { if (e.getActionCommand().equals("XTFR") || e.getActionCommand().equals("EMAIL")) { saveXTFRFields(); if (e.getActionCommand().equals("EMAIL")) emailIt = true; else emailIt = false; initializeMonit... | 2,658 |
public void actionPerformed(ActionEvent e) { if (e.getActionCommand().equals("XTFR") || e.getActionCommand().equals("EMAIL")) { saveXTFRFields(); if (e.getActionCommand().equals("EMAIL")) emailIt = true; else emailIt = false; initializeMonit... | public void actionPerformed(ActionEvent e) { if (e.getActionCommand().equals("XTFR") || e.getActionCommand().equals("EMAIL")) { saveXTFRFields(); if (e.getActionCommand().equals("EMAIL")) emailIt = true; else emailIt = false; initializeMonit... | 2,659 |
public void actionPerformed(ActionEvent e) { if (e.getActionCommand().equals("XTFR") || e.getActionCommand().equals("EMAIL")) { saveXTFRFields(); if (e.getActionCommand().equals("EMAIL")) emailIt = true; else emailIt = false; initializeMonit... | public void actionPerformed(ActionEvent e) { if (e.getActionCommand().equals("XTFR") || e.getActionCommand().equals("EMAIL")) { saveXTFRFields(); if (e.getActionCommand().equals("EMAIL")) emailIt = true; else emailIt = false; initializeMonit... | 2,660 |
public void actionPerformed(ActionEvent e) { if (e.getActionCommand().equals("XTFR") || e.getActionCommand().equals("EMAIL")) { saveXTFRFields(); if (e.getActionCommand().equals("EMAIL")) emailIt = true; else emailIt = false; initializeMonit... | public void actionPerformed(ActionEvent e) { if (e.getActionCommand().equals("XTFR") || e.getActionCommand().equals("EMAIL")) { saveXTFRFields(); if (e.getActionCommand().equals("EMAIL")) emailIt = true; else emailIt = false; initializeMonit... | 2,661 |
public void actionPerformed(ActionEvent e) { if (e.getActionCommand().equals("XTFR") || e.getActionCommand().equals("EMAIL")) { saveXTFRFields(); if (e.getActionCommand().equals("EMAIL")) emailIt = true; else emailIt = false; initializeMonit... | public void actionPerformed(ActionEvent e) { if (e.getActionCommand().equals("XTFR") || e.getActionCommand().equals("EMAIL")) { saveXTFRFields(); if (e.getActionCommand().equals("EMAIL")) emailIt = true; else emailIt = false; initializeMonit... | 2,662 |
private void initXTFRInfo() { // create some reusable borders and layouts BorderLayout borderLayout = new BorderLayout(); Border etchedBorder = BorderFactory.createEtchedBorder(); // main panel JPanel mp = new JPanel(); mp.setLayout(borderLayout); // system panel JPanel sp = n... | private void initXTFRInfo() { // create some reusable borders and layouts BorderLayout borderLayout = new BorderLayout(); Border etchedBorder = BorderFactory.createEtchedBorder(); // main panel JPanel mp = new JPanel(); mp.setLayout(borderLayout); // system panel JPanel sp = n... | 2,663 |
public void start() throws PluginException { try { InitialNaming.bind(NAME, this); WorkUtils.add(new Work("Start device manager") { public void execute() { loadExtensions(); } }); } catch (NamingException ex) { ... | public void start() throws PluginException { try { InitialNaming.bind(NAME, this); WorkUtils.add(new Work("Start device manager") { public void execute() { loadExtensions(); } }); } catch (NamingException ex) { ... | 2,664 |
public void start() throws PluginException { try { InitialNaming.bind(NAME, this); WorkUtils.add(new Work("Start device manager") { public void execute() { loadExtensions(); } }); } catch (NamingException ex) { ... | public void start() throws PluginException { try { InitialNaming.bind(NAME, this); WorkUtils.add(new Work("Start device manager") { public void execute() { loadExtensions(); } }); } catch (NamingException ex) { ... | 2,665 |
public void stop() throws PluginException { stopDevices(); InitialNaming.unbind(NAME); } | public void stop() throws PluginException { stopDevices(); InitialNaming.unbind(NAME); } | 2,666 |
public DeviceAlreadyRegisteredException(String s) { super(s); } | public DeviceAlreadyRegisteredException(String s) { super(s); } | 2,667 |
public DeviceNotFoundException(String s) { super(s); } | public DeviceNotFoundException(String s) { super(s); } | 2,668 |
private void mousePressed(MouseEvent ev) { // Autoclose all menus managed by the MenuSelectionManager. MenuSelectionManager m = MenuSelectionManager.defaultManager(); Component target = ev.getComponent(); if (target instanceof Container) target = ((Container) target).findComponentAt(ev... | private void mousePressed(MouseEvent ev) { // Autoclose all menus managed by the MenuSelectionManager. MenuSelectionManager m = MenuSelectionManager.defaultManager(); Component target = ev.getComponent(); if (target instanceof Container) target = ((Container) target).findComponentAt(ev... | 2,669 |
protected void initComponentDefaults(UIDefaults defaults) { Object[] uiDefaults; Color highLight = new Color(249, 247, 246); Color light = new Color(239, 235, 231); Color shadow = new Color(139, 136, 134); Color darkShadow = new Color(16, 16, 16); uiDefaults = new Object[] { "AbstractU... | protected void initComponentDefaults(UIDefaults defaults) { Object[] uiDefaults; Color highLight = new Color(249, 247, 246); Color light = new Color(239, 235, 231); Color shadow = new Color(139, 136, 134); Color darkShadow = new Color(16, 16, 16); uiDefaults = new Object[] { "AbstractU... | 2,671 |
public Statistic(String name, String description) { this.name = name; this.description = description; } | public Statistic(String name, String description) { this.name = name; this.description = description; } | 2,672 |
public List getCommands() { return formatCommandList; } | public List getCommands() { ArrayList commandList = new ArrayList(); Iterator iter = formatCommandList.iterator(); while (iter.hasNext()) { FormattedIOCmd thisCommand = (FormattedIOCmd) iter.next(); if (thisCommand instanceof RepeatFormattedIOCmd) { int count = ((RepeatFormattedIOCmd) thisCommand).getCount().int... | 2,673 |
public Integer getCount() { return (Integer) ((XMLAttribute) attribHash.get("count")).getAttribValue(); } | public Integer getCount() { return new Integer((String) ((XMLAttribute) attribHash.get("count")).getAttribValue()); } | 2,674 |
public void setCount(Integer numCount) { ((XMLAttribute) attribHash.get("count")).setAttribValue(numCount); } | public void setCount(Integer numCount) { if (numCount.intValue() < 1) { Log.warnln("Cant set repeatFormattedIOCmd count to less than 1, ignoring set request."); } else { ((XMLAttribute) attribHash.get("count")).setAttribValue(numCount); } } | 2,675 |
public static final ISignature getInstance(String ssa) { if (ssa == null) { return null; } ssa = ssa.trim(); ISignature result = null; if (ssa.equalsIgnoreCase(Registry.DSA_SIG) || ssa.equals(Registry.DSS_SIG)) { result = new DSSSignature(); } else if (ssa.equalsIgnor... | public static final ISignature getInstance(String ssa) { if (ssa == null) { return null; } ssa = ssa.trim(); ISignature result = null; if (ssa.equalsIgnoreCase(Registry.DSA_SIG) || ssa.equals(Registry.DSS_SIG)) { result = new DSSSignature(); } else if (ssa.equalsIgnor... | 2,676 |
public static final Set getNames() { HashSet hs = new HashSet(); hs.add(Registry.DSS_SIG); hs.add(Registry.RSA_PSS_SIG); hs.add(Registry.RSA_PKCS1_V1_5_SIG); return Collections.unmodifiableSet(hs); } | public static synchronized final Set getNames() { if (names == null) { HashSet hs = new HashSet(); hs.add(Registry.DSS_SIG); hs.add(Registry.RSA_PSS_SIG); hs.add(Registry.RSA_PKCS1_V1_5_SIG); return Collections.unmodifiableSet(hs); } | 2,677 |
public static final Set getNames() { HashSet hs = new HashSet(); hs.add(Registry.DSS_SIG); hs.add(Registry.RSA_PSS_SIG); hs.add(Registry.RSA_PKCS1_V1_5_SIG); return Collections.unmodifiableSet(hs); } | public static final Set getNames() { HashSet hs = new HashSet(); hs.add(Registry.DSS_SIG); hs.add(Registry.RSA_PSS_SIG); hs.add(Registry.RSA_PKCS1_V1_5_SIG); return Collections.unmodifiableSet(hs); } | 2,678 |
public static final Set getNames() { HashSet hs = new HashSet(); hs.add(Registry.DSS_SIG); hs.add(Registry.RSA_PSS_SIG); hs.add(Registry.RSA_PKCS1_V1_5_SIG); return Collections.unmodifiableSet(hs); } | public static final Set getNames() { HashSet hs = new HashSet(); hs.add(Registry.DSS_SIG); hs.add(Registry.RSA_PSS_SIG); hs.add(Registry.RSA_PKCS1_V1_5_SIG); names = Collections.unmodifiableSet(hs); } | 2,679 |
public SendEMailDialog(Frame parent, Session session ) { if (!isEMailAvailable()) { JOptionPane.showMessageDialog(parent, LangTool.getString("messages.noEmailAPI"), "Error", JOptionPane.ERRO... | public SendEMailDialog(Frame parent, Session session ) { if (!isEMailAvailable()) { JOptionPane.showMessageDialog(parent, LangTool.getString("messages.noEmailAPI"), "Error", JOptionPane.ERRO... | 2,681 |
public SendEMailDialog(Frame parent, Session session ) { if (!isEMailAvailable()) { JOptionPane.showMessageDialog(parent, LangTool.getString("messages.noEmailAPI"), "Error", JOptionPane.ERRO... | public SendEMailDialog(Frame parent, Session session ) { if (!isEMailAvailable()) { JOptionPane.showMessageDialog(parent, LangTool.getString("messages.noEmailAPI"), "Error", JOptionPane.ERRO... | 2,682 |
public SendEMailDialog(Frame parent, Session session ) { if (!isEMailAvailable()) { JOptionPane.showMessageDialog(parent, LangTool.getString("messages.noEmailAPI"), "Error", JOptionPane.ERRO... | public SendEMailDialog(Frame parent, Session session ) { if (!isEMailAvailable()) { JOptionPane.showMessageDialog(parent, LangTool.getString("messages.noEmailAPI"), "Error", JOptionPane.ERRO... | 2,683 |
public SendEMailDialog(Frame parent, Session session ) { if (!isEMailAvailable()) { JOptionPane.showMessageDialog(parent, LangTool.getString("messages.noEmailAPI"), "Error", JOptionPane.ERRO... | public SendEMailDialog(Frame parent, Session session ) { if (!isEMailAvailable()) { JOptionPane.showMessageDialog(parent, LangTool.getString("messages.noEmailAPI"), "Error", JOptionPane.ERRO... | 2,684 |
public SendEMailDialog(Frame parent, Session session ) { if (!isEMailAvailable()) { JOptionPane.showMessageDialog(parent, LangTool.getString("messages.noEmailAPI"), "Error", JOptionPane.ERRO... | public SendEMailDialog(Frame parent, Session session ) { if (!isEMailAvailable()) { JOptionPane.showMessageDialog(parent, LangTool.getString("messages.noEmailAPI"), "Error", JOptionPane.ERRO... | 2,685 |
public SendEMailDialog(Frame parent, Session session ) { if (!isEMailAvailable()) { JOptionPane.showMessageDialog(parent, LangTool.getString("messages.noEmailAPI"), "Error", JOptionPane.ERRO... | public SendEMailDialog(Frame parent, Session session ) { if (!isEMailAvailable()) { JOptionPane.showMessageDialog(parent, LangTool.getString("messages.noEmailAPI"), "Error", JOptionPane.ERRO... | 2,686 |
private void setOptions(String[] options) { options[0] = LangTool.getString("em.optSendLabel"); options[1] = LangTool.getString("em.optCancelLabel"); File smtp = new File("SMTPProperties.cfg"); if (smtp.exists()) options[2] = LangTool.getString("em.optEditLabel"); else option... | private void setOptions(String[] options) { options[0] = LangTool.getString("em.optSendLabel"); options[1] = LangTool.getString("em.optCancelLabel"); File smtp = new File("SMTPProperties.cfg"); if (smtp.exists()) options[2] = LangTool.getString("em.optEditLabel"); else option... | 2,687 |
private void setOptions(String[] options) { options[0] = LangTool.getString("em.optSendLabel"); options[1] = LangTool.getString("em.optCancelLabel"); File smtp = new File("SMTPProperties.cfg"); if (smtp.exists()) options[2] = LangTool.getString("em.optEditLabel"); else option... | private void setOptions(String[] options) { options[0] = LangTool.getString("em.optSendLabel"); options[1] = LangTool.getString("em.optCancelLabel"); if (smtp.exists()) options[2] = LangTool.getString("em.optEditLabel"); else options[2] = LangTool.getString("em.optConfigureLabel"); if (smtp.exist... | 2,688 |
private void setOptions(String[] options) { options[0] = LangTool.getString("em.optSendLabel"); options[1] = LangTool.getString("em.optCancelLabel"); File smtp = new File("SMTPProperties.cfg"); if (smtp.exists()) options[2] = LangTool.getString("em.optEditLabel"); else option... | private void setOptions(String[] options) { options[0] = LangTool.getString("em.optSendLabel"); options[1] = LangTool.getString("em.optCancelLabel"); File smtp = new File("SMTPProperties.cfg"); if (smtp.exists()) options[2] = LangTool.getString("em.optEditLabel"); else option... | 2,689 |
private JPanel setupMailPanel (String fileName) { JPanel semp = new JPanel(); semp.setLayout(new AlignLayout(2,5,5)); JLabel tol = new JLabel(LangTool.getString("em.to")); JLabel subl = new JLabel(LangTool.getString("em.subject")); JLabel bodyl = new JLabel(LangTool.getString("em.body")); ... | private JPanel setupMailPanel (String fileName) { JPanel semp = new JPanel(); semp.setLayout(new AlignLayout(2,5,5)); JLabel tol = new JLabel(LangTool.getString("em.to")); JLabel subl = new JLabel(LangTool.getString("em.subject")); JLabel bodyl = new JLabel(LangTool.getString("em.body")); ... | 2,690 |
private JPanel setupMailPanel (String fileName) { JPanel semp = new JPanel(); semp.setLayout(new AlignLayout(2,5,5)); JLabel tol = new JLabel(LangTool.getString("em.to")); JLabel subl = new JLabel(LangTool.getString("em.subject")); JLabel bodyl = new JLabel(LangTool.getString("em.body")); ... | private JPanel setupMailPanel (String fileName) { JPanel semp = new JPanel(); semp.setLayout(new AlignLayout(2,5,5)); JLabel tol = new JLabel(LangTool.getString("em.to")); JLabel subl = new JLabel(LangTool.getString("em.subject")); JLabel bodyl = new JLabel(LangTool.getString("em.body")); ... | 2,691 |
private JPanel setupMailPanel (String fileName) { JPanel semp = new JPanel(); semp.setLayout(new AlignLayout(2,5,5)); JLabel tol = new JLabel(LangTool.getString("em.to")); JLabel subl = new JLabel(LangTool.getString("em.subject")); JLabel bodyl = new JLabel(LangTool.getString("em.body")); ... | private JPanel setupMailPanel (String fileName) { JPanel semp = new JPanel(); semp.setLayout(new AlignLayout(2,5,5)); JLabel tol = new JLabel(LangTool.getString("em.to")); JLabel subl = new JLabel(LangTool.getString("em.subject")); JLabel bodyl = new JLabel(LangTool.getString("em.body")); ... | 2,692 |
private JPanel setupMailPanel (String fileName) { JPanel semp = new JPanel(); semp.setLayout(new AlignLayout(2,5,5)); JLabel tol = new JLabel(LangTool.getString("em.to")); JLabel subl = new JLabel(LangTool.getString("em.subject")); JLabel bodyl = new JLabel(LangTool.getString("em.body")); ... | private JPanel setupMailPanel (String fileName) { JPanel semp = new JPanel(); semp.setLayout(new AlignLayout(2,5,5)); JLabel tol = new JLabel(LangTool.getString("em.to")); JLabel subl = new JLabel(LangTool.getString("em.subject")); JLabel bodyl = new JLabel(LangTool.getString("em.body")); ... | 2,693 |
private JPanel setupMailPanel (String fileName) { JPanel semp = new JPanel(); semp.setLayout(new AlignLayout(2,5,5)); JLabel tol = new JLabel(LangTool.getString("em.to")); JLabel subl = new JLabel(LangTool.getString("em.subject")); JLabel bodyl = new JLabel(LangTool.getString("em.body")); ... | private JPanel setupMailPanel (String fileName) { JPanel semp = new JPanel(); semp.setLayout(new AlignLayout(2,5,5)); JLabel tol = new JLabel(LangTool.getString("em.to")); JLabel subl = new JLabel(LangTool.getString("em.subject")); JLabel bodyl = new JLabel(LangTool.getString("em.body")); ... | 2,694 |
private JPanel setupMailPanel (String fileName) { JPanel semp = new JPanel(); semp.setLayout(new AlignLayout(2,5,5)); JLabel tol = new JLabel(LangTool.getString("em.to")); JLabel subl = new JLabel(LangTool.getString("em.subject")); JLabel bodyl = new JLabel(LangTool.getString("em.body")); ... | private JPanel setupMailPanel (String fileName) { JPanel semp = new JPanel(); semp.setLayout(new AlignLayout(2,5,5)); JLabel tol = new JLabel(LangTool.getString("em.to")); JLabel subl = new JLabel(LangTool.getString("em.subject")); JLabel bodyl = new JLabel(LangTool.getString("em.body")); ... | 2,695 |
private JPanel setupMailPanel (String fileName) { JPanel semp = new JPanel(); semp.setLayout(new AlignLayout(2,5,5)); JLabel tol = new JLabel(LangTool.getString("em.to")); JLabel subl = new JLabel(LangTool.getString("em.subject")); JLabel bodyl = new JLabel(LangTool.getString("em.body")); ... | private JPanel setupMailPanel (String fileName) { JPanel semp = new JPanel(); semp.setLayout(new AlignLayout(2,5,5)); JLabel tol = new JLabel(LangTool.getString("em.to")); JLabel subl = new JLabel(LangTool.getString("em.subject")); JLabel bodyl = new JLabel(LangTool.getString("em.body")); ... | 2,696 |
private JPanel setupMailPanel (String fileName) { JPanel semp = new JPanel(); semp.setLayout(new AlignLayout(2,5,5)); JLabel tol = new JLabel(LangTool.getString("em.to")); JLabel subl = new JLabel(LangTool.getString("em.subject")); JLabel bodyl = new JLabel(LangTool.getString("em.body")); ... | private JPanel setupMailPanel (String fileName) { JPanel semp = new JPanel(); semp.setLayout(new AlignLayout(2,5,5)); JLabel tol = new JLabel(LangTool.getString("em.to")); JLabel subl = new JLabel(LangTool.getString("em.subject")); JLabel bodyl = new JLabel(LangTool.getString("em.body")); ... | 2,697 |
private JPanel setupMailPanel (String fileName) { JPanel semp = new JPanel(); semp.setLayout(new AlignLayout(2,5,5)); JLabel tol = new JLabel(LangTool.getString("em.to")); JLabel subl = new JLabel(LangTool.getString("em.subject")); JLabel bodyl = new JLabel(LangTool.getString("em.body")); ... | private JPanel setupMailPanel (String fileName) { JPanel semp = new JPanel(); semp.setLayout(new AlignLayout(2,5,5)); JLabel tol = new JLabel(LangTool.getString("em.to")); JLabel subl = new JLabel(LangTool.getString("em.subject")); JLabel bodyl = new JLabel(LangTool.getString("em.body")); ... | 2,698 |
private JPanel setupMailPanel (String fileName) { JPanel semp = new JPanel(); semp.setLayout(new AlignLayout(2,5,5)); JLabel tol = new JLabel(LangTool.getString("em.to")); JLabel subl = new JLabel(LangTool.getString("em.subject")); JLabel bodyl = new JLabel(LangTool.getString("em.body")); ... | private JPanel setupMailPanel (String fileName) { JPanel semp = new JPanel(); semp.setLayout(new AlignLayout(2,5,5)); JLabel tol = new JLabel(LangTool.getString("em.to")); JLabel subl = new JLabel(LangTool.getString("em.subject")); JLabel bodyl = new JLabel(LangTool.getString("em.body")); ... | 2,699 |
public synchronized void getChars(int srcOffset, int srcEnd, char[] dst, int dstOffset) { int todo = srcEnd - srcOffset; if (srcOffset < 0 || srcEnd > count || todo < 0) throw new StringIndexOutOfBoundsException(); System.arraycopy(value, srcOffset, dst, dstOffset, to... | public synchronized void getChars(int srcOffset, int srcEnd, char[] dst, int dstOffset) { int todo = srcEnd - srcOffset; if (srcOffset < 0 || srcEnd > count || todo < 0) throw new StringIndexOutOfBoundsException(); System.arraycopy(value, srcOffset, dst, dstOffset, to... | 2,700 |
public synchronized void getChars(int srcOffset, int srcEnd, char[] dst, int dstOffset) { int todo = srcEnd - srcOffset; if (srcOffset < 0 || srcEnd > count || todo < 0) throw new StringIndexOutOfBoundsException(); System.arraycopy(value, srcOffset, dst, dstOffset, to... | public synchronized void getChars(int srcOffset, int srcEnd, char[] dst, int dstOffset) { int todo = srcEnd - srcOffset; if (srcOffset < 0 || srcEnd > count || todo < 0) throw new StringIndexOutOfBoundsException(); System.arraycopy(value, srcOffset, dst, dstOffset, sr... | 2,701 |
public synchronized StringBuffer insert(int offset, char[] str, int str_offset, int len) { if (offset < 0 || offset > count || len < 0 || str_offset < 0 || str_offset + len > str.length) throw new StringIndexOutOfBoundsException(); ensureCapacity_unsynchroni... | public synchronized StringBuffer insert(int offset, char[] str, int str_offset, int len) { if (offset < 0 || offset > count || len < 0 || str_offset < 0 || str_offset > str.length - len) throw new StringIndexOutOfBoundsException(); ensureCapacity_unsynchroni... | 2,702 |
public synchronized void setLength(int newLength) { if (newLength < 0) throw new StringIndexOutOfBoundsException(newLength); ensureCapacity_unsynchronized(newLength); while (count < newLength) value[count++] = '\0'; count = newLength; } | public synchronized void setLength(int newLength) { if (newLength < 0) throw new StringIndexOutOfBoundsException(newLength); ensureCapacity_unsynchronized(newLength); while (count < newLength) value[count++] = '\0'; } } | 2,703 |
public final void setAttributes(KeyEvent ke) { keyCode = ke.getKeyCode(); isShiftDown = ke.isShiftDown(); isControlDown = ke.isControlDown(); isAltDown = ke.isAltDown(); hashCode = keyCode + (isShiftDown ? 1 : 0) + (isControlDown ? 1 : 0) + ... | public final void setAttributes(int keyCode, boolean isShiftDown, boolean isControlDown, boolean isAltDown, boolean isAltGrDown) { keyCode = ke.getKeyCode(); isShiftDown = ke.isShiftDown(); isControlDown = ke.isControlDown(); isAltDown = ke.isAltDown(); hashCode = keyCode + ... | 2,704 |
public final void setAttributes(KeyEvent ke) { keyCode = ke.getKeyCode(); isShiftDown = ke.isShiftDown(); isControlDown = ke.isControlDown(); isAltDown = ke.isAltDown(); hashCode = keyCode + (isShiftDown ? 1 : 0) + (isControlDown ? 1 : 0) + ... | public final void setAttributes(KeyEvent ke) { keyCode = ke.getKeyCode(); isShiftDown = ke.isShiftDown(); isControlDown = ke.isControlDown(); isAltDown = ke.isAltDown(); hashCode = keyCode + (isShiftDown ? 1 : 0) + (isControlDown ? 1 : 0) + ... | 2,705 |
public final void setAttributes(KeyEvent ke) { keyCode = ke.getKeyCode(); isShiftDown = ke.isShiftDown(); isControlDown = ke.isControlDown(); isAltDown = ke.isAltDown(); hashCode = keyCode + (isShiftDown ? 1 : 0) + (isControlDown ? 1 : 0) + ... | public final void setAttributes(KeyEvent ke) { keyCode = ke.getKeyCode(); isShiftDown = ke.isShiftDown(); isControlDown = ke.isControlDown(); isAltDown = ke.isAltDown(); hashCode = keyCode + (isShiftDown ? 1 : 0) + (isControlDown ? 1 : 0) + ... | 2,706 |
public Dimension getMinimumSize(JComponent c) { MetalComboBoxButton b = (MetalComboBoxButton) arrowButton; Icon icon = b.getComboIcon(); Insets insets = b.getInsets(); Dimension d = getDisplaySize(); int insetsH = insets.top + insets.bottom; int insetsW = insets.left + insets.right; int iconWidt... | public Dimension getMinimumSize(JComponent c) { MetalComboBoxButton b = (MetalComboBoxButton) arrowButton; Insets insets = b.getInsets(); Dimension d = getDisplaySize(); int insetsH = insets.top + insets.bottom; int insetsW = insets.left + insets.right; int iconWidth = icon.getIconWidth() + 6; ... | 2,707 |
public Dimension getMinimumSize(JComponent c) { MetalComboBoxButton b = (MetalComboBoxButton) arrowButton; Icon icon = b.getComboIcon(); Insets insets = b.getInsets(); Dimension d = getDisplaySize(); int insetsH = insets.top + insets.bottom; int insetsW = insets.left + insets.right; int iconWidt... | public Dimension getMinimumSize(JComponent c) { MetalComboBoxButton b = (MetalComboBoxButton) arrowButton; Icon icon = b.getComboIcon(); Insets insets = b.getInsets(); int insetsH = insets.top + insets.bottom; int insetsW = insets.left + insets.right; int iconWidth = icon.getIconWidth() + 6; ... | 2,708 |
public Dimension getMinimumSize(JComponent c) { MetalComboBoxButton b = (MetalComboBoxButton) arrowButton; Icon icon = b.getComboIcon(); Insets insets = b.getInsets(); Dimension d = getDisplaySize(); int insetsH = insets.top + insets.bottom; int insetsW = insets.left + insets.right; int iconWidt... | public Dimension getMinimumSize(JComponent c) { MetalComboBoxButton b = (MetalComboBoxButton) arrowButton; Icon icon = b.getComboIcon(); Insets insets = b.getInsets(); Dimension d = getDisplaySize(); int insetsH = insets.top + insets.bottom; int insetsW = insets.left + insets.right; int iconWidt... | 2,709 |
public NetworkArgument(String name, String description) { super(name, description); } | public NetworkArgument(String name, String description) { super(name, description); } | 2,710 |
private int getLineLength(int line) { Element lineEl = getElement().getElement(line); Segment buffer = getLineBuffer(); try { Document doc = getDocument(); doc.getText(lineEl.getStartOffset(), lineEl.getEndOffset() - lineEl.getStartOffset() - 1, buffe... | private int getLineLength(int line) { Element lineEl = getElement().getElement(line); Segment buffer = getLineBuffer(); try { Document doc = getDocument(); doc.getText(lineEl.getStartOffset(), lineEl.getEndOffset() - lineEl.getStartOffset() - 1, buffe... | 2,711 |
protected Rectangle lineToRect(Shape a, int line) { // Ensure metrics are up-to-date. updateMetrics(); Rectangle rect = a.getBounds(); int fontHeight = metrics.getHeight(); return new Rectangle(rect.x, rect.y + (line * fontHeight), rect.width, fontHeight); } | protected Rectangle lineToRect(Shape a, int line) { // Ensure metrics are up-to-date. updateMetrics(); Rectangle rect = a instanceof Rectangle ? (Rectangle) a : a.getBounds(); int fontHeight = metrics.getHeight(); return new Rectangle(rect.x, rect.y + (line * fontHeight), rect.width, fontHeight... | 2,712 |
public Shape modelToView(int position, Shape a, Position.Bias b) throws BadLocationException { // Ensure metrics are up-to-date. updateMetrics(); Document document = getDocument(); // Get rectangle of the line containing position. int lineIndex = getElement().getElementIndex(position); Recta... | public Shape modelToView(int position, Shape a, Position.Bias b) throws BadLocationException { // Ensure metrics are up-to-date. updateMetrics(); Document document = getDocument(); // Get rectangle of the line containing position. int lineIndex = getElement().getElementIndex(position); Recta... | 2,713 |
public float nextTabStop(float x, int tabStop) { float tabSizePixels = getTabSize() * metrics.charWidth('m'); return (float) (Math.floor(x / tabSizePixels) + 1) * tabSizePixels; } | public float nextTabStop(float x, int tabStop) { float tabSizePixels = getTabSize() * metrics.charWidth('m'); return (float) (Math.floor(x / tabSizePixels) + 1) * tabSizePixels; } | 2,714 |
public void paint(Graphics g, Shape s) { // Ensure metrics are up-to-date. updateMetrics(); JTextComponent textComponent = (JTextComponent) getContainer(); selectedColor = textComponent.getSelectedTextColor(); unselectedColor = textComponent.getForeground(); disabledColor = textComponent.ge... | public void paint(Graphics g, Shape s) { // Ensure metrics are up-to-date. updateMetrics(); JTextComponent textComponent = (JTextComponent) getContainer(); selectedColor = textComponent.getSelectedTextColor(); unselectedColor = textComponent.getForeground(); disabledColor = textComponent.ge... | 2,715 |
public void paint(Graphics g, Shape s) { // Ensure metrics are up-to-date. updateMetrics(); JTextComponent textComponent = (JTextComponent) getContainer(); selectedColor = textComponent.getSelectedTextColor(); unselectedColor = textComponent.getForeground(); disabledColor = textComponent.ge... | public void paint(Graphics g, Shape s) { // Ensure metrics are up-to-date. updateMetrics(); JTextComponent textComponent = (JTextComponent) getContainer(); selectedColor = textComponent.getSelectedTextColor(); unselectedColor = textComponent.getForeground(); disabledColor = textComponent.ge... | 2,716 |
public void paint(Graphics g, Shape s) { // Ensure metrics are up-to-date. updateMetrics(); JTextComponent textComponent = (JTextComponent) getContainer(); selectedColor = textComponent.getSelectedTextColor(); unselectedColor = textComponent.getForeground(); disabledColor = textComponent.ge... | public void paint(Graphics g, Shape s) { // Ensure metrics are up-to-date. updateMetrics(); JTextComponent textComponent = (JTextComponent) getContainer(); selectedColor = textComponent.getSelectedTextColor(); unselectedColor = textComponent.getForeground(); disabledColor = textComponent.ge... | 2,717 |
public int viewToModel(float x, float y, Shape a, Position.Bias[] b) { Rectangle rec = a.getBounds(); Document doc = getDocument(); Element root = doc.getDefaultRootElement(); // PlainView doesn't support line-wrapping so we can find out which // Element was clicked on just by the y-position. ... | public int viewToModel(float x, float y, Shape a, Position.Bias[] b) { Rectangle rec = a instanceof Rectangle ? (Rectangle) a : a.getBounds(); tabBase = rec.x; int pos; if ((int) y < rec.y) pos = getStartOffset(); else if ((int) y > rec.y + rec.height) pos = getEndOffset() - 1; else { Document doc = getDocu... | 2,720 |
public int viewToModel(float x, float y, Shape a, Position.Bias[] b) { Rectangle rec = a.getBounds(); Document doc = getDocument(); Element root = doc.getDefaultRootElement(); // PlainView doesn't support line-wrapping so we can find out which // Element was clicked on just by the y-position. ... | public int viewToModel(float x, float y, Shape a, Position.Bias[] b) { Rectangle rec = a.getBounds(); Document doc = getDocument(); Element root = doc.getDefaultRootElement(); // PlainView doesn't support line-wrapping so we can find out which // Element was clicked on just by the y-position. ... | 2,721 |
public int viewToModel(float x, float y, Shape a, Position.Bias[] b) { Rectangle rec = a.getBounds(); Document doc = getDocument(); Element root = doc.getDefaultRootElement(); // PlainView doesn't support line-wrapping so we can find out which // Element was clicked on just by the y-position. ... | public int viewToModel(float x, float y, Shape a, Position.Bias[] b) { Rectangle rec = a.getBounds(); Document doc = getDocument(); Element root = doc.getDefaultRootElement(); // PlainView doesn't support line-wrapping so we can find out which // Element was clicked on just by the y-position. ... | 2,722 |
public int viewToModel(float x, float y, Shape a, Position.Bias[] b) { Rectangle rec = a.getBounds(); Document doc = getDocument(); Element root = doc.getDefaultRootElement(); // PlainView doesn't support line-wrapping so we can find out which // Element was clicked on just by the y-position. ... | public int viewToModel(float x, float y, Shape a, Position.Bias[] b) { Rectangle rec = a.getBounds(); Document doc = getDocument(); Element root = doc.getDefaultRootElement(); // PlainView doesn't support line-wrapping so we can find out which // Element was clicked on just by the y-position. ... | 2,723 |
public int viewToModel(float x, float y, Shape a, Position.Bias[] b) { Rectangle rec = a.getBounds(); Document doc = getDocument(); Element root = doc.getDefaultRootElement(); // PlainView doesn't support line-wrapping so we can find out which // Element was clicked on just by the y-position. ... | public int viewToModel(float x, float y, Shape a, Position.Bias[] b) { Rectangle rec = a.getBounds(); Document doc = getDocument(); Element root = doc.getDefaultRootElement(); // PlainView doesn't support line-wrapping so we can find out which // Element was clicked on just by the y-position. ... | 2,724 |
public int viewToModel(float x, float y, Shape a, Position.Bias[] b) { Rectangle rec = a.getBounds(); Document doc = getDocument(); Element root = doc.getDefaultRootElement(); // PlainView doesn't support line-wrapping so we can find out which // Element was clicked on just by the y-position. ... | public int viewToModel(float x, float y, Shape a, Position.Bias[] b) { Rectangle rec = a.getBounds(); Document doc = getDocument(); Element root = doc.getDefaultRootElement(); // PlainView doesn't support line-wrapping so we can find out which // Element was clicked on just by the y-position. ... | 2,725 |
public synchronized long[] allocNew(int nrClusters) throws IOException { long rc[] = new long[nrClusters]; rc[0] = allocNew(); for (int i = 1; i < nrClusters; i++) { rc[i] = allocAppend(rc[i - 1]); } return rc; } | public synchronized long allocNew() throws IOException { long rc[] = new long[nrClusters]; rc[0] = allocNew(); for (int i = 1; i < nrClusters; i++) { rc[i] = allocAppend(rc[i - 1]); } return rc; } | 2,726 |
public synchronized long[] allocNew(int nrClusters) throws IOException { long rc[] = new long[nrClusters]; rc[0] = allocNew(); for (int i = 1; i < nrClusters; i++) { rc[i] = allocAppend(rc[i - 1]); } return rc; } | public synchronized long[] allocNew(int nrClusters) throws IOException { int i; int entryIndex = -1; for (i = lastFreeCluster; i < entries.length; i++) { if (isFreeCluster(entries[i])) { entryIndex=i; break; } } if(entryIndex<0){ for(i = 2; i < lastFreeCluster;i++){ if (isFreeCluster(entries[i])) { entryIndex=i; bre... | 2,727 |
public synchronized long[] allocNew(int nrClusters) throws IOException { long rc[] = new long[nrClusters]; rc[0] = allocNew(); for (int i = 1; i < nrClusters; i++) { rc[i] = allocAppend(rc[i - 1]); } return rc; } | public synchronized long[] allocNew(int nrClusters) throws IOException { long rc[] = new long[nrClusters]; rc[0] = allocNew(); for (int i = 1; i < nrClusters; i++) { rc[i] = allocAppend(rc[i - 1]); } return rc; } | 2,728 |
private void nextSession() { int index = sessionPane.getSelectedIndex(); sessionPane.setForegroundAt(index,Color.black); sessionPane.setIconAt(index,unfocused); if (index < sessionPane.getTabCount() - 1) { sessionPane.setSelectedIndex(++index); sessionPane.setForegroundAt(index,Co... | private void nextSession() { int index = sessionPane.getSelectedIndex(); sessionPane.setForegroundAt(index,Color.black); sessionPane.setIconAt(index,unfocused); if (index < sessionPane.getTabCount() - 1) { sessionPane.setSelectedIndex(++index); sessionPane.setForegroundAt(index,Co... | 2,730 |
private void prevSession() { int index = sessionPane.getSelectedIndex(); sessionPane.setForegroundAt(index,Color.black); sessionPane.setIconAt(index,unfocused); if (index == 0) { sessionPane.setSelectedIndex(sessionPane.getTabCount() - 1); sessionPane.setForegroundAt(sessionPane.g... | private void prevSession() { int index = sessionPane.getSelectedIndex(); sessionPane.setForegroundAt(index,Color.black); sessionPane.setIconAt(index,unfocused); if (index == 0) { sessionPane.setSelectedIndex(sessionPane.getTabCount() - 1); sessionPane.setForegroundAt(sessionPane.g... | 2,731 |
public void removeSessionView(Session targetSession) { int index = sessionPane.indexOfComponent(targetSession); System.out.println("session found and closing down " + index); targetSession.removeSessionListener(this); targetSession.removeSessionJumpListener(this); int tabs = sessionPane.getT... | public void removeSessionView(Session targetSession) { int index = sessionPane.indexOfComponent(targetSession); System.out.println("session found and closing down " + index); targetSession.removeSessionListener(this); targetSession.removeSessionJumpListener(this); int tabs = sessionPane.getT... | 2,732 |
public void removeSessionView(Session targetSession) { int index = sessionPane.indexOfComponent(targetSession); System.out.println("session found and closing down " + index); targetSession.removeSessionListener(this); targetSession.removeSessionJumpListener(this); int tabs = sessionPane.getT... | public void removeSessionView(Session targetSession) { int index = sessionPane.indexOfComponent(targetSession); System.out.println("session found and closing down " + index); targetSession.removeSessionListener(this); targetSession.removeSessionJumpListener(this); int tabs = sessionPane.getT... | 2,733 |
public void stateChanged(ChangeEvent e) { JTabbedPane p = (JTabbedPane)e.getSource(); p.setForegroundAt(selectedIndex,Color.black); p.setIconAt(selectedIndex,unfocused); Session sg = (Session)p.getComponentAt(selectedIndex); sg.setVisible(false); sg = (Session)p.getSelectedComponent(); ... | public void stateChanged(ChangeEvent e) { JTabbedPane p = (JTabbedPane)e.getSource(); p.setForegroundAt(selectedIndex,Color.black); p.setIconAt(selectedIndex,unfocused); Session sg = (Session)p.getComponentAt(selectedIndex); sg.setVisible(false); sg = (Session)p.getSelectedComponent(); ... | 2,734 |
public void drawLine(int lineIndex, Graphics g, int x, int y) { try { metrics = g.getFontMetrics(); // FIXME: Selected text are not drawn yet. Element line = getDocument().getDefaultRootElement().getElement(lineIndex); drawUnselectedText(g, x, y, line.getStartOffset(), line.getEndOffset()); //drawSelectedTex... | protected void drawLine(int lineIndex, Graphics g, int x, int y) { try { metrics = g.getFontMetrics(); // FIXME: Selected text are not drawn yet. Element line = getDocument().getDefaultRootElement().getElement(lineIndex); drawUnselectedText(g, x, y, line.getStartOffset(), line.getEndOffset()); //drawSelected... | 2,735 |
public int getTabSize() { return 8; } | protected int getTabSize() { return 8; } | 2,736 |
public Number decrementDimension() { Number dim = getDimension(); if (dim == null) { Log.error(" in DataCube, incrementDimentsion, the dimension is undef"); return null; } else return setDimension(new Integer(dim.intValue()-1));} | public Number decrementDimension() { Number dim = getDimension(); if (dim == null) { Log.error(" in DataCube, incrementDimentsion, the dimension is undef"); return null; } else return setDimension(new Integer(dim.intValue()-1));} | 2,737 |
public Number decrementDimension() { Number dim = getDimension(); if (dim == null) { Log.error(" in DataCube, incrementDimentsion, the dimension is undef"); return null; } else return setDimension(new Integer(dim.intValue()-1));} | public Number decrementDimension() { Number dim = getDimension(); if (dim == null) { Log.error(" in DataCube, incrementDimentsion, the dimension is undef"); return null; } else return dimension--;} | 2,738 |
public Number getDimension() { return (Number) ((XMLAttribute) attribHash.get("dimension")).getAttribValue();} | public Number getDimension() { return (Number) ((XMLAttribute) attribHash.get("dimension")).getAttribValue();} | 2,739 |
public int[] getMaxDataIndex() { List axes = parentArray.getAxisList(); int[] maxDataIndices = new int[axes.size()]; for(int i = 0; i < axes.size(); i++) { maxDataIndices[i]=((Axis) axes.get(i)).getLength(); } //update the *maxDimensionIndex* attribute attribHash.put("maxDimensionIndex", maxDataIndices); retu... | public int[] getMaxDataIndex() { List axes = parentArray.getAxisList(); int[] maxDataIndices = new int[axes.size()]; int stop = axes.size(); for(int i = 0; i < stop; i++) { maxDataIndices[i]=((Axis) axes.get(i)).getLength(); } //update the *maxDimensionIndex* attribute attribHash.put("maxDimensionIndex", maxDa... | 2,740 |
public int[] getMaxDataIndex() { List axes = parentArray.getAxisList(); int[] maxDataIndices = new int[axes.size()]; for(int i = 0; i < axes.size(); i++) { maxDataIndices[i]=((Axis) axes.get(i)).getLength(); } //update the *maxDimensionIndex* attribute attribHash.put("maxDimensionIndex", maxDataIndices); retu... | public int[] getMaxDataIndex() { List axes = parentArray.getAxisList(); int[] maxDataIndices = new int[axes.size()]; for(int i = 0; i < axes.size(); i++) { maxDataIndices[i]=((Axis) axes.get(i)).getLength(); } //update the *maxDimensionIndex* attribute return maxDataIndices;} | 2,741 |
public Number incrementDimension(Axis axis) { Number dim = getDimension(); if (dim.intValue()==0) { //add first dimension data.add(null); data.add(null); return setDimension(new Integer(1)); } if (dim.intValue() == 1) { //add second dimension int length = axis.getLength(); for (int i = 2; i < 2*le... | public Number incrementDimension(Axis axis) { Number dim = getDimension(); if (dim.intValue()==0) { //add first dimension data.add(null); data.add(null); return setDimension(new Integer(1)); } if (dim.intValue() == 1) { //add second dimension int length = axis.getLength(); for (int i = 2; i < 2*le... | 2,742 |
public Number incrementDimension(Axis axis) { Number dim = getDimension(); if (dim.intValue()==0) { //add first dimension data.add(null); data.add(null); return setDimension(new Integer(1)); } if (dim.intValue() == 1) { //add second dimension int length = axis.getLength(); for (int i = 2; i < 2*le... | public Number incrementDimension(Axis axis) { Number dim = getDimension(); if (dim.intValue()==0) { //add first dimension data.add(null); data.add(null); return dimension++; } if (dim.intValue() == 1) { //add second dimension int length = axis.getLength(); for (int i = 2; i < 2*length; i++) da... | 2,743 |
public Number incrementDimension(Axis axis) { Number dim = getDimension(); if (dim.intValue()==0) { //add first dimension data.add(null); data.add(null); return setDimension(new Integer(1)); } if (dim.intValue() == 1) { //add second dimension int length = axis.getLength(); for (int i = 2; i < 2*le... | public Number incrementDimension(Axis axis) { Number dim = getDimension(); if (dim.intValue()==0) { //add first dimension data.add(null); data.add(null); return setDimension(new Integer(1)); } if (dimension == 1) { //add second dimension int length = axis.getLength(); for (int i = 2; i < 2*length;... | 2,744 |
public Number incrementDimension(Axis axis) { Number dim = getDimension(); if (dim.intValue()==0) { //add first dimension data.add(null); data.add(null); return setDimension(new Integer(1)); } if (dim.intValue() == 1) { //add second dimension int length = axis.getLength(); for (int i = 2; i < 2*le... | public Number incrementDimension(Axis axis) { Number dim = getDimension(); if (dim.intValue()==0) { //add first dimension data.add(null); data.add(null); return setDimension(new Integer(1)); } if (dim.intValue() == 1) { //add second dimension int length = axis.getLength(); for (int i = 2; i < 2*le... | 2,745 |
private void init() { classXDFNodeName = "data"; // order matters! these are in *reverse* order of their // occurence in the XDF DTD attribOrder.add(0,"maxDimensionIndex"); attribOrder.add(0,"dimension"); attribOrder.add(0,"compression"); attribOrder.add(0,"checksum"); attribOrder.add(0,"href")... | private void init() { classXDFNodeName = "data"; // order matters! these are in *reverse* order of their // occurence in the XDF DTD attribOrder.add(0,"maxDimensionIndex"); attribOrder.add(0,"dimension"); attribOrder.add(0,"compression"); attribOrder.add(0,"checksum"); attribOrder.add(0,"href")... | 2,746 |
private void init() { classXDFNodeName = "data"; // order matters! these are in *reverse* order of their // occurence in the XDF DTD attribOrder.add(0,"maxDimensionIndex"); attribOrder.add(0,"dimension"); attribOrder.add(0,"compression"); attribOrder.add(0,"checksum"); attribOrder.add(0,"href")... | private void init() { classXDFNodeName = "data"; // order matters! these are in *reverse* order of their // occurence in the XDF DTD attribOrder.add(0,"maxDimensionIndex"); attribOrder.add(0,"dimension"); attribOrder.add(0,"compression"); attribOrder.add(0,"checksum"); attribOrder.add(0,"href")... | 2,747 |
private void init() { classXDFNodeName = "data"; // order matters! these are in *reverse* order of their // occurence in the XDF DTD attribOrder.add(0,"maxDimensionIndex"); attribOrder.add(0,"dimension"); attribOrder.add(0,"compression"); attribOrder.add(0,"checksum"); attribOrder.add(0,"href")... | private void init() { classXDFNodeName = "data"; // order matters! these are in *reverse* order of their // occurence in the XDF DTD attribOrder.add(0,"maxDimensionIndex"); attribOrder.add(0,"dimension"); attribOrder.add(0,"compression"); attribOrder.add(0,"checksum"); attribOrder.add(0,"href")... | 2,748 |
public void toXDFOutputStream ( OutputStream outputstream, Hashtable XMLDeclAttribs, String strIndent ) { boolean niceOutput = sPrettyXDFOutput; String indent = ""; indent = indent + strIndent; String nodeName = getClassXDFNodeName(); //open node if (niceOutput) ... | public void toXDFOutputStream ( OutputStream outputstream, Hashtable XMLDeclAttribs, String strIndent ) { boolean niceOutput = sPrettyXDFOutput; String indent = ""; indent = indent + strIndent; String nodeName = getClassXDFNodeName(); //open node if (niceOutput) ... | 2,750 |
public void toXDFOutputStream ( OutputStream outputstream, Hashtable XMLDeclAttribs, String strIndent ) { boolean niceOutput = sPrettyXDFOutput; String indent = ""; indent = indent + strIndent; String nodeName = getClassXDFNodeName(); //open node if (niceOutput) ... | public void toXDFOutputStream ( OutputStream outputstream, Hashtable XMLDeclAttribs, String strIndent ) { boolean niceOutput = sPrettyXDFOutput; String indent = ""; indent = indent + strIndent; String nodeName = getClassXDFNodeName(); //open node if (niceOutput) ... | 2,751 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.