我正在尝试实现字典(如实体书中).我有一个单词列表及其含义.
Java提供了什么数据结构/类型来存储单词列表及其作为键/值对的含义.
如果给一把钥匙,我能找到并返回价值吗?
JButton bkButton = new JButton(new ImageIcon("src/Images/smallBArrow.bmp"));
JPanel buttonPanel = new JPanel(new FlowLayout());
buttonPanel.add(bkButton);
Run Code Online (Sandbox Code Playgroud)
使用动作侦听器我需要能够单击并执行操作(返回,转发或刷新)