This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | [70cat] Losing Focus doesn't set Folder Alias in Project Properties. | ||
---|---|---|---|
Product: | projects | Reporter: | esmithbss <esmithbss> |
Component: | Generic Projects UI | Assignee: | Jesse Glick <jglick> |
Status: | RESOLVED INVALID | ||
Severity: | normal | ||
Priority: | P3 | ||
Version: | 7.0 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
esmithbss
2011-02-11 15:18:55 UTC
This is just an aspect of Swing, or more precisely the particular L&F - changes to the table cell using its in-place editor are not applied until you leave the cell normally, e.g. TAB or ENTER or clicking on another cell - but not ESCAPE. You can see this in a simple demo: import javax.swing.JOptionPane; import javax.swing.JTable; public class Test195340 { public static void main(String[] args) { JTable t = new JTable(new String[][] {{"src", "Sources"}, {"stuff", "Stuff"}}, new String[] {"Path", "Label"}); JOptionPane.showMessageDialog(null, t); System.out.println(t.getValueAt(1, 1)); } } |