no message
This commit is contained in:
@@ -21,7 +21,7 @@ public class TableMenu extends StyledPopupMenu {
|
||||
mcopy.addActionListener(e -> Utils_.CopyToClipboard(target.toString()));
|
||||
add(mcopy);
|
||||
//
|
||||
add(value_scroll= new JScrollPane(value_view = new JTextArea()));
|
||||
add(value_scroll = new JScrollPane(value_view = new JTextArea()));
|
||||
value_view.setEditable(false);
|
||||
//value_view.setLineWrap(true);
|
||||
//value_view.setWrapStyleWord(true);
|
||||
@@ -33,13 +33,13 @@ public class TableMenu extends StyledPopupMenu {
|
||||
if ((row >= 0) && (column >= 0)) {
|
||||
target = owner.getValueAt(row, column);
|
||||
mcopy.setVisible(true);
|
||||
Dimension d= new Dimension(Math.max(mcopy.getWidth(), 300),100);
|
||||
Dimension d = new Dimension(Math.max(mcopy.getWidth(), 300), 100);
|
||||
value_view.setVisible(true);
|
||||
String res = target.toString();
|
||||
if (target instanceof Vector){
|
||||
if (target instanceof Vector) {
|
||||
Vector<Object> v = (Vector<Object>) target;
|
||||
Vector<String> res_ = new Vector<>();
|
||||
for (Object o: v){
|
||||
for (Object o : v) {
|
||||
res_.add(o.toString());
|
||||
}
|
||||
res = String.join("\n", res_);
|
||||
|
||||
Reference in New Issue
Block a user