今天在写socke聊天程序时,发现JOptionPane导入不进去,查阅了一下,把问题解决了

先打开eclipse->procket->properties
eclipse JOptionPane导入不进去,未解决 找到图示中的Deprecated and restricted API
将其中相关的改为Ignore就可以啦
如图中所示

相关文章:

  • 2018-04-17
  • 2021-05-09
  • 2022-12-23
  • 2022-12-23
  • 2021-12-29
  • 2021-08-06
  • 2021-09-11
猜你喜欢
  • 2021-09-28
  • 2021-06-15
  • 2021-11-02
  • 2022-03-01
  • 2021-05-30
  • 2021-12-19
  • 2021-10-12
相关资源
相似解决方案