Warning: session_start(): open(/var/lib/php/sessions/sess_gjk9a4345377715r3qc2evsh7c, O_RDWR) failed: No space left on device (28) in /var/www/tb-usercake/models/config.php on line 51
Warning: session_start(): Failed to read session data: files (path: /var/lib/php/sessions) in /var/www/tb-usercake/models/config.php on line 51
srecord noeq JFilePathButton(File file) is Swingable {
transient JButton button;
cachedVisualize {
button if null = jimageButtonScaledToWidth(16, #1101292, "", l0 showInExplorer);
updateToolTip();
ret button;
}
void showInExplorer {
thread {
File dirToShow = isFile(file) ? dirOfFile(file) : file;
//startPlatformFileManager(dirToShow);
desktopOpen(dirToShow);
}
}
void setFile(File file) {
this.file = file;
updateToolTip();
}
void updateToolTip {
setEnabled(button, file != null);
toolTip(file == null ? "No file" : f2s(file) + " [click to show in file explorer]", button);
}
}