Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试更改我创建的 JTextArea 的字体,但它无法正常工作。请帮忙。以下是我在 jess 中的代码(Java Expert System Shell)
(defglobal ?*qfield* = (new JTextArea 5 20)) (?*qfield* setFont (new Font "Arial" (get-member Font.BOLD) 30))
get-member 接受两个单独的参数:类的名称和成员的名称。您需要删除它们之间的句点。