Skip to main content
View by: Most Recent | Topic | Community | Webloggers   
Monthly Archives:    

Blogs by topic Swing and user g_s_m

• Accessibility • Ajax • Blogging • Business • Community 
• Databases • Deployment • Distributed • Eclipse • Education 
• EJB • Extreme Programming • Games • GlassFish • Grid 
• GUI • IDE • Instant Messaging • J2EE • J2ME 
• J2SE • Jakarta • JavaFX • JavaOne • Jini 
• JSP • JSR • JXTA • LDAP • Linux 
• Mobility • NetBeans • Open Source • OpenSolaris • OSGi 
• P2P • Patterns • Performance • Porting • Programming 
• Research • RMI • RSS Feeds • Search • Security 
• Servlets • Struts • Swing • Testing • Tools 
• Virtual Machine • Web Applications • Web Design • Web Development Tools • Web Services and XML 


Swing

code, pre { color: navy; } pre { border: solid gray 1px; margin: 1em 2em; padding: 1em; } This question, “how to generate print preview of Java Swing components,” is asked often on various discussion forums, because currently (as of version 6) the Java SE doesn't have standard facilities for building print previews. While working on the Swing Tutorial, I tried to address this...
on Sep 5, 2007
pre, code { color: navy; } pre { border: solid gray 1px; margin: 1em 2em; padding: 0em 1em; } After I published the entry on removing elements from Swing HTMLDocument in JDK7, I got a question from a reader: but how to actually remove elements in JDK6? There's no easy way, but what is the hard way? Well, there exist a bunch of methods, to various degrees of ugliness, let's look at one of them....
on Aug 1, 2007
Removing elements from Swing HTMLDocument .htmlsrc, .javacode { font-family: monospace; font-size: 1em; color: navy; } pre.javacode, .htmlsrc, .htmlview { margin: 1em 2em; padding: 0em 1em; border: thin solid black; Suppose you have an HTML document, like this: <ul>  <li id="LI1">Item 1</li>...
on Jun 18, 2007