< prev index next >

src/java.desktop/share/classes/javax/swing/plaf/multi/doc-files/multi_tsc.html

Print this page


   1 <!doctype html>
   2 <html lang="en">
   3 <head>
   4   <meta charset="utf-8"/>
   5   <title>Using the Multiplexing Look and Feel</title>
   6 </head>
   7 <!--
   8  Copyright (c) 1998, 2018, Oracle and/or its affiliates. All rights reserved.
   9  DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  10 
  11  This code is free software; you can redistribute it and/or modify it
  12  under the terms of the GNU General Public License version 2 only, as
  13  published by the Free Software Foundation.  Oracle designates this
  14  particular file as subject to the "Classpath" exception as provided
  15  by Oracle in the LICENSE file that accompanied this code.
  16 
  17  This code is distributed in the hope that it will be useful, but WITHOUT
  18  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  19  FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  20  version 2 for more details (a copy is included in the LICENSE file that
  21  accompanied this code).
  22 
  23  You should have received a copy of the GNU General Public License version
  24  2 along with this work; if not, write to the Free Software Foundation,
  25  Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  26 
  27  Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  28  or visit www.oracle.com if you need additional information or have any
  29  questions.
  30 -->
  31 
  32 <body>
  33 <main role="main">

  34 <h1>Using the Multiplexing Look and Feel</h1>
  35 
  36 <blockquote>
  37 <hr>
  38 <p>
  39 <i>
  40 This document is based on an article
  41 originally published in
  42 <a href="http://www.oracle.com/technetwork/java/javase/tech/articles-jsp-139072.html"
  43    target="_top"><em>The Swing Connection</em></a>.
  44 </i>
  45 </p>
  46 <hr>
  47 </blockquote>
  48 
  49 <p>
  50 The Multiplexing look and feel lets
  51 you supplement an ordinary look and feel
  52 (called the <em>default</em> look and feel)
  53 with one or more <em>auxiliary</em> look and feels.


 478 </p>
 479             <p> For example, if a user has a multiplexing
 480               look and feel represented by <code>com.myco.SuperMultiLookAndFeel</code>
 481               that is a better match for their needs than the Multiplexing
 482               look and feel
 483               (<code>javax.swing.plaf.multi.MultiLookAndFeel</code>),
 484               the user could include the following line in <code>$JDKHOME/conf/swing.properties</code>:
 485 </p>
 486 
 487 <p>
 488 <code>swing.plaf.multiplexinglaf = com.myco.SuperMultiLookAndFeel</code>
 489 </p>
 490 
 491 <p>
 492 This statement instructs Swing to use <code>com.myco.SuperMultiLookAndFeel</code>
 493 instead of <code>javax.swing.plaf.multi.MultiLookAndFeel</code>. But
 494 if you use this kind of statement, be careful, because the suppliers
 495 of auxiliary look and feels will most likely have developed and
 496 tested against our Multiplexing look and feel.
 497 </p>

 498 </main>
 499 </body>
 500 </html>
   1 <!doctype html>
   2 <html lang="en">
   3 <head>
   4   <meta charset="utf-8"/>
   5   <title>Using the Multiplexing Look and Feel</title>
   6 </head>
   7 <!--
   8  Copyright (c) 1998, 2019, Oracle and/or its affiliates. All rights reserved.
   9  DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  10 
  11  This code is free software; you can redistribute it and/or modify it
  12  under the terms of the GNU General Public License version 2 only, as
  13  published by the Free Software Foundation.  Oracle designates this
  14  particular file as subject to the "Classpath" exception as provided
  15  by Oracle in the LICENSE file that accompanied this code.
  16 
  17  This code is distributed in the hope that it will be useful, but WITHOUT
  18  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  19  FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  20  version 2 for more details (a copy is included in the LICENSE file that
  21  accompanied this code).
  22 
  23  You should have received a copy of the GNU General Public License version
  24  2 along with this work; if not, write to the Free Software Foundation,
  25  Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  26 
  27  Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  28  or visit www.oracle.com if you need additional information or have any
  29  questions.
  30 -->
  31 
  32 <body>
  33 <main role="main">
  34 <div class="contentContainer">
  35 <h1>Using the Multiplexing Look and Feel</h1>
  36 
  37 <blockquote>
  38 <hr>
  39 <p>
  40 <i>
  41 This document is based on an article
  42 originally published in
  43 <a href="http://www.oracle.com/technetwork/java/javase/tech/articles-jsp-139072.html"
  44    target="_top"><em>The Swing Connection</em></a>.
  45 </i>
  46 </p>
  47 <hr>
  48 </blockquote>
  49 
  50 <p>
  51 The Multiplexing look and feel lets
  52 you supplement an ordinary look and feel
  53 (called the <em>default</em> look and feel)
  54 with one or more <em>auxiliary</em> look and feels.


 479 </p>
 480             <p> For example, if a user has a multiplexing
 481               look and feel represented by <code>com.myco.SuperMultiLookAndFeel</code>
 482               that is a better match for their needs than the Multiplexing
 483               look and feel
 484               (<code>javax.swing.plaf.multi.MultiLookAndFeel</code>),
 485               the user could include the following line in <code>$JDKHOME/conf/swing.properties</code>:
 486 </p>
 487 
 488 <p>
 489 <code>swing.plaf.multiplexinglaf = com.myco.SuperMultiLookAndFeel</code>
 490 </p>
 491 
 492 <p>
 493 This statement instructs Swing to use <code>com.myco.SuperMultiLookAndFeel</code>
 494 instead of <code>javax.swing.plaf.multi.MultiLookAndFeel</code>. But
 495 if you use this kind of statement, be careful, because the suppliers
 496 of auxiliary look and feels will most likely have developed and
 497 tested against our Multiplexing look and feel.
 498 </p>
 499 </div>
 500 </main>
 501 </body>
 502 </html>
< prev index next >