When using JOptionPane to achieve pop-up effect, an error is reported:
Solution:
1. Click and edit configuration
2. Add: -Djava.awt.headless=false In the virtual machine option box
Read More:
- [Solved] Mac Runjmeter WARNING: package sun.awt.X11 not in java.desktop
- JPA @ManyToMany java.lang.StackOverflowError: null [How to Solve]
- [Solved] Hystrix error: java.util.concurrent.TimeoutException: null
- [Solved] Error: exception: java.lang.reflect.InvocationTargetException: null
- Tencent cloud container easyexcel export excel error NoClassDefFoundError: could not initialize class sun.awt.x11fontmanager
- TypeException: Error setting non null for parameter #1 with JdbcType null
- [Solved] Springboot Reflection calls ServiceImpl Error: java.lang.NullPointerException, mapper is null
- [Solved] Error: Cannot run with sound null safety, because the following dependenciesdon‘t support null safe
- Android Working Directory:NULL Environment:NULL Error
- Mybatis Integrate SQLSERER Null Value Error: Error setting null for parameter # with JdbcType OTHER
- openlayers — Cannot read property ‘slice‘ of null—Map cannot be loaded
- How to Solve “Error db.num is null” when starting Nacos
- [Solved] Unity Error: Got null handle from IDXGIResource::GetSharedHandle
- El-cascader error: Cannot read property’level’ of null
- [Solved] uview u-sticky Error: Cannot read property ‘bottom‘ of null
- failed: RawInventory gets null OracleHomeInfo [How to Solve]
- Vue ElementUI el-dropdown Error: Uncaught TypeError: Cannot read property ‘disabled‘ of null
- How to Solve null/hadoopbinary/wintils.exe Error
- Oracle 12.2.0.1 opatch lsinventory Error: LsInventorySession failed: RawInventory gets null OracleHomeInfo
- Kafka configurate broker mapping error: discovered coordinator XXX rack: null