Improvement: add tooltip for gpu checkboxes

This commit is contained in:
Laurent Clouet
2015-01-27 20:43:40 +01:00
parent f444bd5526
commit f1c5738dd5

View File

@@ -133,7 +133,7 @@ public class Settings implements Activity {
for (GPUDevice gpu : gpus) {
n += 20;
JCheckBoxGPU gpuCheckBox = new JCheckBoxGPU(gpu);
gpuCheckBox.setToolTipText(gpu.getCudaName());
gpuCheckBox.setSelected(gpuChecked);
gpuCheckBox.setBounds(start_label_right, n, 200, size_height_label);
gpuCheckBox.addActionListener(new GpuChangeAction());