博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
substance新版及问题
阅读量:7044 次
发布时间:2019-06-28

本文共 1051 字,大约阅读时间需要 3 分钟。

新版地址:https://github.com/Insubstantial,目前是7.3版

http://stackoverflow.com/questions/3657538/substance-ui-undecorated-jdialog-jframe

1

I have noticed that while using the Substance UI for Java that when I set a new JFrame or JDialog to undecorated it is not honored.

e.g.

frame.setUndecorated(true); frame.setVisible(true);

When run under Substance shows a decorated frame.

When run under system default L&F shows an undecorated frame.

Anyone have ideas for working around this? I have been unable to find anything on this at the Substance website/java.net forums or already existing in SO.

This is a very old question, however for anyone who finds this post:

The problem with using,

JFrame.setDefaultLookAndFeelDecorated(false);

to fix the undecorated issue, is that it causes ALL of your dialogs to use the default look and feel when they are DECORATED. If you'd just like one dialog to be undecorated without affecting all the other dialogs, call this on your dialog after setting it undecorated:

getRootPane().setWindowDecorationStyle(JRootPane.NONE);

转载地址:http://woqal.baihongyu.com/

你可能感兴趣的文章
比利时“Belgacom”网络系统被攻击
查看>>
WEB SSH之Shellinabox
查看>>
Java工作利器之常用工具类(四)——Json工具类,使用正则支持xml与json互转
查看>>
符号执行:利用Angr进行简单CTF逆向分析
查看>>
码农福音!CASIL开发代码移植系统,CTRL+C/V快速编程不再是梦想
查看>>
DevOps的四种核心能力
查看>>
【LeetCode从零单排】No22.Generate Parentheses
查看>>
GIT中文乱码问题解决方案
查看>>
ASP.NET MVC以ValueProvider为核心的值提供系统: DictionaryValueProvider
查看>>
明全策:MACD平滑异同平均线实战运用!
查看>>
【翻译】PHP7——新特性
查看>>
Vectors For All (almost)
查看>>
zabbix3.2监控Windows网卡流量
查看>>
《VMware Virtual SAN权威指南》一1.7 小结
查看>>
用友网络并购秉钧网络 加速布局企业互联网服务
查看>>
《计算机科学与工程导论:基于IoT和机器人的可视化编程实践方法第2版》一3.3 在VIPLE中创建计算机系统部件...
查看>>
永信至诚蔡晶晶:用有温度的技术培育信息时代的安全感
查看>>
“AI+中国”将成ISC17国际超算大会关键词!
查看>>
Riverbed助力Interplex成功使用机器人技术
查看>>
工信部周剑:企业互联网+需从知到行
查看>>