For some reason I thought, I could right click files in the panel on the left (Projects/Files/) and click something like “Open in Folder”, which would in Windows open its location in the Windows Explorer. Either I some how disabled it, or it never existed.
If it doesn’t exist, I’ve had to make it for my own application before, and after some digging I found the code I used. I’ve no idea if it works on Mac/Linux or where I got it from but in any case heres what I used:
[java] private class PopUpDemo1 extends javax.swing.JPopupMenu {
javax.swing.JMenuItem openFolderItem;
public PopUpDemo1(){
openFolderItem = new javax.swing.JMenuItem(“Open in folder location”);
this.add(openFolderItem);
openFolderItem.addActionListener(new ActionListener(){
public void actionPerformed(ActionEvent event){
Desktop desktop = null;
File file = new File((textField.getText()));
if (Desktop.isDesktopSupported()) {
desktop = Desktop.getDesktop();
}
try {
desktop.open(file);
}
catch (IOException e){ }
catch(IllegalArgumentException e1){
}
}
});
}
}[/java]
Or if it does exist, how do I get it back?
It never existed but I can see if I can add the code some time, I’ll change the assets node configuration (internally) some time soon anyway.
k cool thanks