JxBrower6.21破解版

时间:2022-06-09 14:07:13
【文件属性】:

文件名称:JxBrower6.21破解版

文件大小:195.07MB

文件格式:RAR

更新时间:2022-06-09 14:07:13

JavaFx JxBrower6.21 Java

JxBrower6.21破解版,引用jar包,添加代码: static { try { Field e = ba.class.getDeclaredField("e"); e.setAccessible(true); Field f = ba.class.getDeclaredField("f"); f.setAccessible(true); Field modifersField = Field.class.getDeclaredField("modifiers"); modifersField.setAccessible(true); modifersField.setInt(e, e.getModifiers() & ~Modifier.FINAL); modifersField.setInt(f, f.getModifiers() & ~Modifier.FINAL); e.set(null, new BigInteger("1")); f.set(null, new BigInteger("1")); modifersField.setAccessible(false); } catch (Exception e1) { e1.printStackTrace(); } } public static void main(String[] args) { final String url = "http://10.0.1.10/TopIcis/InitialMainFrameUI.do"; final String title = "百度"; Browser browser = new Browser(); BrowserView view = new BrowserView(browser); JFrame frame = new JFrame(); //禁用close功能 //frame.setDefaultCloseOperation(JFrame.DO_NOTHING_ON_CLOSE); //不显示标题栏,最大化,最小化,退出按钮 //frame.setUndecorated(true); frame.setSize(400, 600); frame.add(view, BorderLayout.CENTER); frame.setExtendedState(JFrame.MAXIMIZED_BOTH); frame.setLocationByPlatform(true); frame.setVisible(true); browser.loadURL(url); }


【文件预览】:
META-INF
----teamdev.licenses(391B)

网友评论