Add JDK path selector
This commit is contained in:
@@ -256,6 +256,7 @@ class DeployWorkbench(tk.Tk):
|
||||
ttk.Label(jdk_row, text="JDK", width=12, style="CardTitle.TLabel").pack(side=tk.LEFT)
|
||||
ttk.Combobox(jdk_row, textvariable=self.jdk_version, values=("8", "11", "17", "21"), state="readonly", width=8).pack(side=tk.LEFT)
|
||||
ttk.Button(jdk_row, text="\u5b89\u88c5", command=self.install_jdk_async).pack(side=tk.LEFT, padx=(8, 0))
|
||||
ttk.Button(jdk_row, text="\u9009\u62e9\u8def\u5f84", command=lambda: self.choose_tool_path("JDK")).pack(side=tk.LEFT, padx=(8, 0))
|
||||
ttk.Button(jdk_row, text="\u52a0\u5165 PATH", command=lambda: self.add_tool_to_path("JDK")).pack(side=tk.LEFT, padx=(8, 0))
|
||||
ttk.Label(jdk_row, textvariable=self.jdk_reason, style="Muted.TLabel").pack(side=tk.LEFT, fill=tk.X, expand=True, padx=(10, 0))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user