001/* SynthPainter.java -- An abstract painter for synth components
002   Copyright (C) 2006 Free Software Foundation, Inc.
003
004This file is part of GNU Classpath.
005
006GNU Classpath is free software; you can redistribute it and/or modify
007it under the terms of the GNU General Public License as published by
008the Free Software Foundation; either version 2, or (at your option)
009any later version.
010
011GNU Classpath is distributed in the hope that it will be useful, but
012WITHOUT ANY WARRANTY; without even the implied warranty of
013MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
014General Public License for more details.
015
016You should have received a copy of the GNU General Public License
017along with GNU Classpath; see the file COPYING.  If not, write to the
018Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
01902110-1301 USA.
020
021Linking this library statically or dynamically with other modules is
022making a combined work based on this library.  Thus, the terms and
023conditions of the GNU General Public License cover the whole
024combination.
025
026As a special exception, the copyright holders of this library give you
027permission to link this library with independent modules to produce an
028executable, regardless of the license terms of these independent
029modules, and to copy and distribute the resulting executable under
030terms of your choice, provided that you also meet, for each linked
031independent module, the terms and conditions of the license of that
032module.  An independent module is a module which is not derived from
033or based on this library.  If you modify this library, you may extend
034this exception to your version of the library, but you are not
035obligated to do so.  If you do not wish to do so, delete this
036exception statement from your version. */
037
038
039package javax.swing.plaf.synth;
040
041import java.awt.Graphics;
042
043/**
044 * The abstract definition of a delegate that takes the responsibility of
045 * painting for the components.
046 *
047 * This class is defined to be abstract and all methods are no-ops.
048 *
049 * @author Roman Kennke (kennke@aicas.com)
050 *
051 * @since 1.5
052 */
053public abstract class SynthPainter
054{
055
056  /**
057   * Creates a new <code>SynthPainter</code> object.
058   */
059  public SynthPainter()
060  {
061    // Nothing to do here.
062  }
063
064  /**
065   * Paints the foreground of an arrow button.
066   *
067   * @param ctx the synth context identifying the component and region for
068   *        painting
069   * @param g the graphics context to use for painting
070   * @param x the X coordinate of the area to paint
071   * @param y the Y coordinate of the area to paint
072   * @param w the width of the area to paint
073   * @param h the height of the area to paint
074   * @param dir the orientation of the arrow
075   */
076  public void paintArrowButtonForeground(SynthContext ctx, Graphics g, int x,
077                                         int y, int w, int h, int dir)
078  {
079    // Nothing to do here.
080  }
081
082  /**
083   * Paints the foreground of a progress bar.
084   *
085   * @param ctx the synth context identifying the component and region for
086   *        painting
087   * @param g the graphics context to use for painting
088   * @param x the X coordinate of the area to paint
089   * @param y the Y coordinate of the area to paint
090   * @param w the width of the area to paint
091   * @param h the height of the area to paint
092   * @param dir the orientation of the progress bar
093   */
094  public void paintProgressBarForeground(SynthContext ctx, Graphics g,
095                                         int x, int y, int w, int h,
096                                         int dir)
097  {
098    // Nothing to do here.
099  }
100
101  /**
102   * Paints the foreground of a separator.
103   *
104   * @param ctx the synth context identifying the component and region for
105   *        painting
106   * @param g the graphics context to use for painting
107   * @param x the X coordinate of the area to paint
108   * @param y the Y coordinate of the area to paint
109   * @param w the width of the area to paint
110   * @param h the height of the area to paint
111   * @param dir the orientation of the separator
112   */
113  public void paintSeparatorForeground(SynthContext ctx, Graphics g,
114                                       int x, int y, int w, int h,
115                                       int dir)
116  {
117    // Nothing to do here.
118  }
119
120  /**
121   * Paints the foreground of a split pane's divider.
122   *
123   * @param ctx the synth context identifying the component and region for
124   *        painting
125   * @param g the graphics context to use for painting
126   * @param x the X coordinate of the area to paint
127   * @param y the Y coordinate of the area to paint
128   * @param w the width of the area to paint
129   * @param h the height of the area to paint
130   * @param dir the orientation of the divider
131   */
132  public void paintSplitPaneDividerForeground(SynthContext ctx, Graphics g,
133                                              int x, int y, int w, int h,
134                                              int dir)
135  {
136    // Nothing to do here.
137  }
138
139  /**
140   * Paints a split pane's divider, when it is being dragged.
141   *
142   * @param ctx the synth context identifying the component and region for
143   *        painting
144   * @param g the graphics context to use for painting
145   * @param x the X coordinate of the area to paint
146   * @param y the Y coordinate of the area to paint
147   * @param w the width of the area to paint
148   * @param h the height of the area to paint
149   * @param dir the orientation of the divider
150   */
151  public void paintSplitPaneDragDivider(SynthContext ctx, Graphics g,
152                                        int x, int y, int w, int h,
153                                        int dir)
154  {
155    // Nothing to do here.
156  }
157
158  /**
159   * Paints the indicator for a tree cell which has the focus.
160   *
161   * @param ctx the synth context identifying the component and region for
162   *        painting
163   * @param g the graphics context to use for painting
164   * @param x the X coordinate of the area to paint
165   * @param y the Y coordinate of the area to paint
166   * @param w the width of the area to paint
167   * @param h the height of the area to paint
168   */
169  public void paintTreeCellFocus(SynthContext ctx, Graphics g,
170                                 int x, int y, int w, int h)
171  {
172    // Nothing to do here.
173  }
174
175  /**
176   * Paints the background of an arrow button.
177   *
178   * @param ctx the synth context identifying the component and region for
179   *        painting
180   * @param g the graphics context to use for painting
181   * @param x the X coordinate of the area to paint
182   * @param y the Y coordinate of the area to paint
183   * @param w the width of the area to paint
184   * @param h the height of the area to paint
185   */
186  public void paintArrowButtonBackground(SynthContext ctx, Graphics g, int x,
187                                   int y, int w, int h)
188  {
189    // Nothing to do here.
190  }
191
192  /**
193   * Paints the border of an arrow button.
194   *
195   * @param ctx the synth context identifying the component and region for
196   *        painting
197   * @param g the graphics context to use for painting
198   * @param x the X coordinate of the area to paint
199   * @param y the Y coordinate of the area to paint
200   * @param w the width of the area to paint
201   * @param h the height of the area to paint
202   */
203  public void paintArrowButtonBorder(SynthContext ctx, Graphics g, int x,
204                               int y, int w, int h)
205  {
206    // Nothing to do here.
207  }
208
209  /**
210   * Paints the background of a button.
211   *
212   * @param ctx the synth context identifying the component and region for
213   *        painting
214   * @param g the graphics context to use for painting
215   * @param x the X coordinate of the area to paint
216   * @param y the Y coordinate of the area to paint
217   * @param w the width of the area to paint
218   * @param h the height of the area to paint
219   */
220  public void paintButtonBackground(SynthContext ctx, Graphics g, int x,
221                                   int y, int w, int h)
222  {
223    // Nothing to do here.
224  }
225
226  /**
227   * Paints the border of a button.
228   *
229   * @param ctx the synth context identifying the component and region for
230   *        painting
231   * @param g the graphics context to use for painting
232   * @param x the X coordinate of the area to paint
233   * @param y the Y coordinate of the area to paint
234   * @param w the width of the area to paint
235   * @param h the height of the area to paint
236   */
237  public void paintButtonBorder(SynthContext ctx, Graphics g, int x,
238                               int y, int w, int h)
239  {
240    // Nothing to do here.
241  }
242
243  /**
244   * Paints the background of a check box.
245   *
246   * @param ctx the synth context identifying the component and region for
247   *        painting
248   * @param g the graphics context to use for painting
249   * @param x the X coordinate of the area to paint
250   * @param y the Y coordinate of the area to paint
251   * @param w the width of the area to paint
252   * @param h the height of the area to paint
253   */
254  public void paintCheckBoxBackground(SynthContext ctx, Graphics g, int x,
255                                   int y, int w, int h)
256  {
257    // Nothing to do here.
258  }
259
260  /**
261   * Paints the border of a check box.
262   *
263   * @param ctx the synth context identifying the component and region for
264   *        painting
265   * @param g the graphics context to use for painting
266   * @param x the X coordinate of the area to paint
267   * @param y the Y coordinate of the area to paint
268   * @param w the width of the area to paint
269   * @param h the height of the area to paint
270   */
271  public void paintCheckBoxBorder(SynthContext ctx, Graphics g, int x,
272                               int y, int w, int h)
273  {
274    // Nothing to do here.
275  }
276
277  /**
278   * Paints the background of a check box menu item.
279   *
280   * @param ctx the synth context identifying the component and region for
281   *        painting
282   * @param g the graphics context to use for painting
283   * @param x the X coordinate of the area to paint
284   * @param y the Y coordinate of the area to paint
285   * @param w the width of the area to paint
286   * @param h the height of the area to paint
287   */
288  public void paintCheckBoxMenuItemBackground(SynthContext ctx, Graphics g, int x,
289                                   int y, int w, int h)
290  {
291    // Nothing to do here.
292  }
293
294  /**
295   * Paints the border of a check box menu item.
296   *
297   * @param ctx the synth context identifying the component and region for
298   *        painting
299   * @param g the graphics context to use for painting
300   * @param x the X coordinate of the area to paint
301   * @param y the Y coordinate of the area to paint
302   * @param w the width of the area to paint
303   * @param h the height of the area to paint
304   */
305  public void paintCheckBoxMenuItemBorder(SynthContext ctx, Graphics g, int x,
306                               int y, int w, int h)
307  {
308    // Nothing to do here.
309  }
310
311  /**
312   * Paints the background of a color chooser.
313   *
314   * @param ctx the synth context identifying the component and region for
315   *        painting
316   * @param g the graphics context to use for painting
317   * @param x the X coordinate of the area to paint
318   * @param y the Y coordinate of the area to paint
319   * @param w the width of the area to paint
320   * @param h the height of the area to paint
321   */
322  public void paintColorChooserBackground(SynthContext ctx, Graphics g, int x,
323                                   int y, int w, int h)
324  {
325    // Nothing to do here.
326  }
327
328  /**
329   * Paints the border of a color chooser.
330   *
331   * @param ctx the synth context identifying the component and region for
332   *        painting
333   * @param g the graphics context to use for painting
334   * @param x the X coordinate of the area to paint
335   * @param y the Y coordinate of the area to paint
336   * @param w the width of the area to paint
337   * @param h the height of the area to paint
338   */
339  public void paintColorChooserBorder(SynthContext ctx, Graphics g, int x,
340                               int y, int w, int h)
341  {
342    // Nothing to do here.
343  }
344
345  /**
346   * Paints the background of a combo box.
347   *
348   * @param ctx the synth context identifying the component and region for
349   *        painting
350   * @param g the graphics context to use for painting
351   * @param x the X coordinate of the area to paint
352   * @param y the Y coordinate of the area to paint
353   * @param w the width of the area to paint
354   * @param h the height of the area to paint
355   */
356  public void paintComboBoxBackground(SynthContext ctx, Graphics g, int x,
357                                   int y, int w, int h)
358  {
359    // Nothing to do here.
360  }
361
362  /**
363   * Paints the border of a combo box.
364   *
365   * @param ctx the synth context identifying the component and region for
366   *        painting
367   * @param g the graphics context to use for painting
368   * @param x the X coordinate of the area to paint
369   * @param y the Y coordinate of the area to paint
370   * @param w the width of the area to paint
371   * @param h the height of the area to paint
372   */
373  public void paintComboBoxBorder(SynthContext ctx, Graphics g, int x,
374                               int y, int w, int h)
375  {
376    // Nothing to do here.
377  }
378
379  /**
380   * Paints the background of a desktop icon.
381   *
382   * @param ctx the synth context identifying the component and region for
383   *        painting
384   * @param g the graphics context to use for painting
385   * @param x the X coordinate of the area to paint
386   * @param y the Y coordinate of the area to paint
387   * @param w the width of the area to paint
388   * @param h the height of the area to paint
389   */
390  public void paintDesktopIconBackground(SynthContext ctx, Graphics g, int x,
391                                   int y, int w, int h)
392  {
393    // Nothing to do here.
394  }
395
396  /**
397   * Paints the border of a desktop icon.
398   *
399   * @param ctx the synth context identifying the component and region for
400   *        painting
401   * @param g the graphics context to use for painting
402   * @param x the X coordinate of the area to paint
403   * @param y the Y coordinate of the area to paint
404   * @param w the width of the area to paint
405   * @param h the height of the area to paint
406   */
407  public void paintDesktopIconBorder(SynthContext ctx, Graphics g, int x,
408                               int y, int w, int h)
409  {
410    // Nothing to do here.
411  }
412
413  /**
414   * Paints the background of a desktop pane.
415   *
416   * @param ctx the synth context identifying the component and region for
417   *        painting
418   * @param g the graphics context to use for painting
419   * @param x the X coordinate of the area to paint
420   * @param y the Y coordinate of the area to paint
421   * @param w the width of the area to paint
422   * @param h the height of the area to paint
423   */
424  public void paintDesktopPaneBackground(SynthContext ctx, Graphics g, int x,
425                                   int y, int w, int h)
426  {
427    // Nothing to do here.
428  }
429
430  /**
431   * Paints the border of a desktop pane.
432   *
433   * @param ctx the synth context identifying the component and region for
434   *        painting
435   * @param g the graphics context to use for painting
436   * @param x the X coordinate of the area to paint
437   * @param y the Y coordinate of the area to paint
438   * @param w the width of the area to paint
439   * @param h the height of the area to paint
440   */
441  public void paintDesktopPaneBorder(SynthContext ctx, Graphics g, int x,
442                               int y, int w, int h)
443  {
444    // Nothing to do here.
445  }
446
447  /**
448   * Paints the background of an editor pane.
449   *
450   * @param ctx the synth context identifying the component and region for
451   *        painting
452   * @param g the graphics context to use for painting
453   * @param x the X coordinate of the area to paint
454   * @param y the Y coordinate of the area to paint
455   * @param w the width of the area to paint
456   * @param h the height of the area to paint
457   */
458  public void paintEditorPaneBackground(SynthContext ctx, Graphics g, int x,
459                                   int y, int w, int h)
460  {
461    // Nothing to do here.
462  }
463
464  /**
465   * Paints the border of an editor pane.
466   *
467   * @param ctx the synth context identifying the component and region for
468   *        painting
469   * @param g the graphics context to use for painting
470   * @param x the X coordinate of the area to paint
471   * @param y the Y coordinate of the area to paint
472   * @param w the width of the area to paint
473   * @param h the height of the area to paint
474   */
475  public void paintEditorPaneBorder(SynthContext ctx, Graphics g, int x,
476                               int y, int w, int h)
477  {
478    // Nothing to do here.
479  }
480
481  /**
482   * Paints the background of a file chooser.
483   *
484   * @param ctx the synth context identifying the component and region for
485   *        painting
486   * @param g the graphics context to use for painting
487   * @param x the X coordinate of the area to paint
488   * @param y the Y coordinate of the area to paint
489   * @param w the width of the area to paint
490   * @param h the height of the area to paint
491   */
492  public void paintFileChooserBackground(SynthContext ctx, Graphics g, int x,
493                                   int y, int w, int h)
494  {
495    // Nothing to do here.
496  }
497
498  /**
499   * Paints the border of a file chooser.
500   *
501   * @param ctx the synth context identifying the component and region for
502   *        painting
503   * @param g the graphics context to use for painting
504   * @param x the X coordinate of the area to paint
505   * @param y the Y coordinate of the area to paint
506   * @param w the width of the area to paint
507   * @param h the height of the area to paint
508   */
509  public void paintFileChooserBorder(SynthContext ctx, Graphics g, int x,
510                               int y, int w, int h)
511  {
512    // Nothing to do here.
513  }
514
515  /**
516   * Paints the background of a formatted text field.
517   *
518   * @param ctx the synth context identifying the component and region for
519   *        painting
520   * @param g the graphics context to use for painting
521   * @param x the X coordinate of the area to paint
522   * @param y the Y coordinate of the area to paint
523   * @param w the width of the area to paint
524   * @param h the height of the area to paint
525   */
526  public void paintFormattedTextFieldBackground(SynthContext ctx, Graphics g, int x,
527                                   int y, int w, int h)
528  {
529    // Nothing to do here.
530  }
531
532  /**
533   * Paints the border of a formatted text field.
534   *
535   * @param ctx the synth context identifying the component and region for
536   *        painting
537   * @param g the graphics context to use for painting
538   * @param x the X coordinate of the area to paint
539   * @param y the Y coordinate of the area to paint
540   * @param w the width of the area to paint
541   * @param h the height of the area to paint
542   */
543  public void paintFormattedTextFieldBorder(SynthContext ctx, Graphics g, int x,
544                               int y, int w, int h)
545  {
546    // Nothing to do here.
547  }
548
549  /**
550   * Paints the background of an internal frame.
551   *
552   * @param ctx the synth context identifying the component and region for
553   *        painting
554   * @param g the graphics context to use for painting
555   * @param x the X coordinate of the area to paint
556   * @param y the Y coordinate of the area to paint
557   * @param w the width of the area to paint
558   * @param h the height of the area to paint
559   */
560  public void paintInternalFrameBackground(SynthContext ctx, Graphics g, int x,
561                                   int y, int w, int h)
562  {
563    // Nothing to do here.
564  }
565
566  /**
567   * Paints the border of an internal frame.
568   *
569   * @param ctx the synth context identifying the component and region for
570   *        painting
571   * @param g the graphics context to use for painting
572   * @param x the X coordinate of the area to paint
573   * @param y the Y coordinate of the area to paint
574   * @param w the width of the area to paint
575   * @param h the height of the area to paint
576   */
577  public void paintInternalFrameBorder(SynthContext ctx, Graphics g, int x,
578                               int y, int w, int h)
579  {
580    // Nothing to do here.
581  }
582
583  /**
584   * Paints the background of an internal frame's title pane.
585   *
586   * @param ctx the synth context identifying the component and region for
587   *        painting
588   * @param g the graphics context to use for painting
589   * @param x the X coordinate of the area to paint
590   * @param y the Y coordinate of the area to paint
591   * @param w the width of the area to paint
592   * @param h the height of the area to paint
593   */
594  public void paintInternalFrameTitlePaneBackground(SynthContext ctx, Graphics g, int x,
595                                   int y, int w, int h)
596  {
597    // Nothing to do here.
598  }
599
600  /**
601   * Paints the border of an internal frame's title pane.
602   *
603   * @param ctx the synth context identifying the component and region for
604   *        painting
605   * @param g the graphics context to use for painting
606   * @param x the X coordinate of the area to paint
607   * @param y the Y coordinate of the area to paint
608   * @param w the width of the area to paint
609   * @param h the height of the area to paint
610   */
611  public void paintInternalFrameTitlePaneBorder(SynthContext ctx, Graphics g, int x,
612                               int y, int w, int h)
613  {
614    // Nothing to do here.
615  }
616
617  /**
618   * Paints the background of a label.
619   *
620   * @param ctx the synth context identifying the component and region for
621   *        painting
622   * @param g the graphics context to use for painting
623   * @param x the X coordinate of the area to paint
624   * @param y the Y coordinate of the area to paint
625   * @param w the width of the area to paint
626   * @param h the height of the area to paint
627   */
628  public void paintLabelBackground(SynthContext ctx, Graphics g, int x,
629                                   int y, int w, int h)
630  {
631    // Nothing to do here.
632  }
633
634  /**
635   * Paints the border of a label.
636   *
637   * @param ctx the synth context identifying the component and region for
638   *        painting
639   * @param g the graphics context to use for painting
640   * @param x the X coordinate of the area to paint
641   * @param y the Y coordinate of the area to paint
642   * @param w the width of the area to paint
643   * @param h the height of the area to paint
644   */
645  public void paintLabelBorder(SynthContext ctx, Graphics g, int x,
646                               int y, int w, int h)
647  {
648    // Nothing to do here.
649  }
650
651  /**
652   * Paints the background of a list.
653   *
654   * @param ctx the synth context identifying the component and region for
655   *        painting
656   * @param g the graphics context to use for painting
657   * @param x the X coordinate of the area to paint
658   * @param y the Y coordinate of the area to paint
659   * @param w the width of the area to paint
660   * @param h the height of the area to paint
661   */
662  public void paintListBackground(SynthContext ctx, Graphics g, int x,
663                                   int y, int w, int h)
664  {
665    // Nothing to do here.
666  }
667
668  /**
669   * Paints the border of a list.
670   *
671   * @param ctx the synth context identifying the component and region for
672   *        painting
673   * @param g the graphics context to use for painting
674   * @param x the X coordinate of the area to paint
675   * @param y the Y coordinate of the area to paint
676   * @param w the width of the area to paint
677   * @param h the height of the area to paint
678   */
679  public void paintListBorder(SynthContext ctx, Graphics g, int x,
680                               int y, int w, int h)
681  {
682    // Nothing to do here.
683  }
684
685  /**
686   * Paints the background of a menu.
687   *
688   * @param ctx the synth context identifying the component and region for
689   *        painting
690   * @param g the graphics context to use for painting
691   * @param x the X coordinate of the area to paint
692   * @param y the Y coordinate of the area to paint
693   * @param w the width of the area to paint
694   * @param h the height of the area to paint
695   */
696  public void paintMenuBackground(SynthContext ctx, Graphics g, int x,
697                                   int y, int w, int h)
698  {
699    // Nothing to do here.
700  }
701
702  /**
703   * Paints the border of a menu.
704   *
705   * @param ctx the synth context identifying the component and region for
706   *        painting
707   * @param g the graphics context to use for painting
708   * @param x the X coordinate of the area to paint
709   * @param y the Y coordinate of the area to paint
710   * @param w the width of the area to paint
711   * @param h the height of the area to paint
712   */
713  public void paintMenuBorder(SynthContext ctx, Graphics g, int x,
714                               int y, int w, int h)
715  {
716    // Nothing to do here.
717  }
718
719  /**
720   * Paints the background of a menu bar.
721   *
722   * @param ctx the synth context identifying the component and region for
723   *        painting
724   * @param g the graphics context to use for painting
725   * @param x the X coordinate of the area to paint
726   * @param y the Y coordinate of the area to paint
727   * @param w the width of the area to paint
728   * @param h the height of the area to paint
729   */
730  public void paintMenuBarBackground(SynthContext ctx, Graphics g, int x,
731                                   int y, int w, int h)
732  {
733    // Nothing to do here.
734  }
735
736  /**
737   * Paints the border of a menu bar.
738   *
739   * @param ctx the synth context identifying the component and region for
740   *        painting
741   * @param g the graphics context to use for painting
742   * @param x the X coordinate of the area to paint
743   * @param y the Y coordinate of the area to paint
744   * @param w the width of the area to paint
745   * @param h the height of the area to paint
746   */
747  public void paintMenuBarBorder(SynthContext ctx, Graphics g, int x,
748                               int y, int w, int h)
749  {
750    // Nothing to do here.
751  }
752
753  /**
754   * Paints the background of a menu item.
755   *
756   * @param ctx the synth context identifying the component and region for
757   *        painting
758   * @param g the graphics context to use for painting
759   * @param x the X coordinate of the area to paint
760   * @param y the Y coordinate of the area to paint
761   * @param w the width of the area to paint
762   * @param h the height of the area to paint
763   */
764  public void paintMenuItemBackground(SynthContext ctx, Graphics g, int x,
765                                   int y, int w, int h)
766  {
767    // Nothing to do here.
768  }
769
770  /**
771   * Paints the border of a menu item.
772   *
773   * @param ctx the synth context identifying the component and region for
774   *        painting
775   * @param g the graphics context to use for painting
776   * @param x the X coordinate of the area to paint
777   * @param y the Y coordinate of the area to paint
778   * @param w the width of the area to paint
779   * @param h the height of the area to paint
780   */
781  public void paintMenuItemBorder(SynthContext ctx, Graphics g, int x,
782                               int y, int w, int h)
783  {
784    // Nothing to do here.
785  }
786
787  /**
788   * Paints the background of an option pane.
789   *
790   * @param ctx the synth context identifying the component and region for
791   *        painting
792   * @param g the graphics context to use for painting
793   * @param x the X coordinate of the area to paint
794   * @param y the Y coordinate of the area to paint
795   * @param w the width of the area to paint
796   * @param h the height of the area to paint
797   */
798  public void paintOptionPaneBackground(SynthContext ctx, Graphics g, int x,
799                                   int y, int w, int h)
800  {
801    // Nothing to do here.
802  }
803
804  /**
805   * Paints the border of an option pane.
806   *
807   * @param ctx the synth context identifying the component and region for
808   *        painting
809   * @param g the graphics context to use for painting
810   * @param x the X coordinate of the area to paint
811   * @param y the Y coordinate of the area to paint
812   * @param w the width of the area to paint
813   * @param h the height of the area to paint
814   */
815  public void paintOptionPaneBorder(SynthContext ctx, Graphics g, int x,
816                               int y, int w, int h)
817  {
818    // Nothing to do here.
819  }
820
821  /**
822   * Paints the background of a panel.
823   *
824   * @param ctx the synth context identifying the component and region for
825   *        painting
826   * @param g the graphics context to use for painting
827   * @param x the X coordinate of the area to paint
828   * @param y the Y coordinate of the area to paint
829   * @param w the width of the area to paint
830   * @param h the height of the area to paint
831   */
832  public void paintPanelBackground(SynthContext ctx, Graphics g, int x,
833                                   int y, int w, int h)
834  {
835    // Nothing to do here.
836  }
837
838  /**
839   * Paints the border of a panel.
840   *
841   * @param ctx the synth context identifying the component and region for
842   *        painting
843   * @param g the graphics context to use for painting
844   * @param x the X coordinate of the area to paint
845   * @param y the Y coordinate of the area to paint
846   * @param w the width of the area to paint
847   * @param h the height of the area to paint
848   */
849  public void paintPanelBorder(SynthContext ctx, Graphics g, int x,
850                               int y, int w, int h)
851  {
852    // Nothing to do here.
853  }
854
855  /**
856   * Paints the background of a password field.
857   *
858   * @param ctx the synth context identifying the component and region for
859   *        painting
860   * @param g the graphics context to use for painting
861   * @param x the X coordinate of the area to paint
862   * @param y the Y coordinate of the area to paint
863   * @param w the width of the area to paint
864   * @param h the height of the area to paint
865   */
866  public void paintPasswordFieldBackground(SynthContext ctx, Graphics g, int x,
867                                   int y, int w, int h)
868  {
869    // Nothing to do here.
870  }
871
872  /**
873   * Paints the border of a password field.
874   *
875   * @param ctx the synth context identifying the component and region for
876   *        painting
877   * @param g the graphics context to use for painting
878   * @param x the X coordinate of the area to paint
879   * @param y the Y coordinate of the area to paint
880   * @param w the width of the area to paint
881   * @param h the height of the area to paint
882   */
883  public void paintPasswordFieldBorder(SynthContext ctx, Graphics g, int x,
884                               int y, int w, int h)
885  {
886    // Nothing to do here.
887  }
888
889  /**
890   * Paints the background of a popup menu.
891   *
892   * @param ctx the synth context identifying the component and region for
893   *        painting
894   * @param g the graphics context to use for painting
895   * @param x the X coordinate of the area to paint
896   * @param y the Y coordinate of the area to paint
897   * @param w the width of the area to paint
898   * @param h the height of the area to paint
899   */
900  public void paintPopupMenuBackground(SynthContext ctx, Graphics g, int x,
901                                   int y, int w, int h)
902  {
903    // Nothing to do here.
904  }
905
906  /**
907   * Paints the border of a popup menu.
908   *
909   * @param ctx the synth context identifying the component and region for
910   *        painting
911   * @param g the graphics context to use for painting
912   * @param x the X coordinate of the area to paint
913   * @param y the Y coordinate of the area to paint
914   * @param w the width of the area to paint
915   * @param h the height of the area to paint
916   */
917  public void paintPopupMenuBorder(SynthContext ctx, Graphics g, int x,
918                               int y, int w, int h)
919  {
920    // Nothing to do here.
921  }
922
923  /**
924   * Paints the background of a progress bar.
925   *
926   * @param ctx the synth context identifying the component and region for
927   *        painting
928   * @param g the graphics context to use for painting
929   * @param x the X coordinate of the area to paint
930   * @param y the Y coordinate of the area to paint
931   * @param w the width of the area to paint
932   * @param h the height of the area to paint
933   */
934  public void paintProgressBarBackground(SynthContext ctx, Graphics g, int x,
935                                   int y, int w, int h)
936  {
937    // Nothing to do here.
938  }
939
940  /**
941   * Paints the border of a progress bar.
942   *
943   * @param ctx the synth context identifying the component and region for
944   *        painting
945   * @param g the graphics context to use for painting
946   * @param x the X coordinate of the area to paint
947   * @param y the Y coordinate of the area to paint
948   * @param w the width of the area to paint
949   * @param h the height of the area to paint
950   */
951  public void paintProgressBarBorder(SynthContext ctx, Graphics g, int x,
952                               int y, int w, int h)
953  {
954    // Nothing to do here.
955  }
956
957  /**
958   * Paints the background of a radio button.
959   *
960   * @param ctx the synth context identifying the component and region for
961   *        painting
962   * @param g the graphics context to use for painting
963   * @param x the X coordinate of the area to paint
964   * @param y the Y coordinate of the area to paint
965   * @param w the width of the area to paint
966   * @param h the height of the area to paint
967   */
968  public void paintRadioButtonBackground(SynthContext ctx, Graphics g, int x,
969                                   int y, int w, int h)
970  {
971    // Nothing to do here.
972  }
973
974  /**
975   * Paints the border of a radio button.
976   *
977   * @param ctx the synth context identifying the component and region for
978   *        painting
979   * @param g the graphics context to use for painting
980   * @param x the X coordinate of the area to paint
981   * @param y the Y coordinate of the area to paint
982   * @param w the width of the area to paint
983   * @param h the height of the area to paint
984   */
985  public void paintRadioButtonBorder(SynthContext ctx, Graphics g, int x,
986                               int y, int w, int h)
987  {
988    // Nothing to do here.
989  }
990
991  /**
992   * Paints the background of a radio button menu item.
993   *
994   * @param ctx the synth context identifying the component and region for
995   *        painting
996   * @param g the graphics context to use for painting
997   * @param x the X coordinate of the area to paint
998   * @param y the Y coordinate of the area to paint
999   * @param w the width of the area to paint
1000   * @param h the height of the area to paint
1001   */
1002  public void paintRadioButtonMenuItemBackground(SynthContext ctx, Graphics g, int x,
1003                                   int y, int w, int h)
1004  {
1005    // Nothing to do here.
1006  }
1007
1008  /**
1009   * Paints the border of a radio button menu item.
1010   *
1011   * @param ctx the synth context identifying the component and region for
1012   *        painting
1013   * @param g the graphics context to use for painting
1014   * @param x the X coordinate of the area to paint
1015   * @param y the Y coordinate of the area to paint
1016   * @param w the width of the area to paint
1017   * @param h the height of the area to paint
1018   */
1019  public void paintRadioButtonMenuItemBorder(SynthContext ctx, Graphics g, int x,
1020                               int y, int w, int h)
1021  {
1022    // Nothing to do here.
1023  }
1024
1025  /**
1026   * Paints the background of a root pane.
1027   *
1028   * @param ctx the synth context identifying the component and region for
1029   *        painting
1030   * @param g the graphics context to use for painting
1031   * @param x the X coordinate of the area to paint
1032   * @param y the Y coordinate of the area to paint
1033   * @param w the width of the area to paint
1034   * @param h the height of the area to paint
1035   */
1036  public void paintRootPaneBackground(SynthContext ctx, Graphics g, int x,
1037                                   int y, int w, int h)
1038  {
1039    // Nothing to do here.
1040  }
1041
1042  /**
1043   * Paints the border of a root pane.
1044   *
1045   * @param ctx the synth context identifying the component and region for
1046   *        painting
1047   * @param g the graphics context to use for painting
1048   * @param x the X coordinate of the area to paint
1049   * @param y the Y coordinate of the area to paint
1050   * @param w the width of the area to paint
1051   * @param h the height of the area to paint
1052   */
1053  public void paintRootPaneBorder(SynthContext ctx, Graphics g, int x,
1054                               int y, int w, int h)
1055  {
1056    // Nothing to do here.
1057  }
1058
1059  /**
1060   * Paints the background of a scrollbar.
1061   *
1062   * @param ctx the synth context identifying the component and region for
1063   *        painting
1064   * @param g the graphics context to use for painting
1065   * @param x the X coordinate of the area to paint
1066   * @param y the Y coordinate of the area to paint
1067   * @param w the width of the area to paint
1068   * @param h the height of the area to paint
1069   */
1070  public void paintScrollBarBackground(SynthContext ctx, Graphics g, int x,
1071                                   int y, int w, int h)
1072  {
1073    // Nothing to do here.
1074  }
1075
1076  /**
1077   * Paints the border of a scrollbar.
1078   *
1079   * @param ctx the synth context identifying the component and region for
1080   *        painting
1081   * @param g the graphics context to use for painting
1082   * @param x the X coordinate of the area to paint
1083   * @param y the Y coordinate of the area to paint
1084   * @param w the width of the area to paint
1085   * @param h the height of the area to paint
1086   */
1087  public void paintScrollBarBorder(SynthContext ctx, Graphics g, int x,
1088                               int y, int w, int h)
1089  {
1090    // Nothing to do here.
1091  }
1092
1093  /**
1094   * Paints the background of a scrollbar's thumb.
1095   *
1096   * @param ctx the synth context identifying the component and region for
1097   *        painting
1098   * @param g the graphics context to use for painting
1099   * @param x the X coordinate of the area to paint
1100   * @param y the Y coordinate of the area to paint
1101   * @param w the width of the area to paint
1102   * @param h the height of the area to paint
1103   * @param orientation orientation of the scrollbar
1104   */
1105  public void paintScrollBarThumbBackground(SynthContext ctx, Graphics g, int x,
1106                                            int y, int w, int h, int orientation)
1107  {
1108    // Nothing to do here.
1109  }
1110
1111  /**
1112   * Paints the border of a scrollbar's thumb.
1113   *
1114   * @param ctx the synth context identifying the component and region for
1115   *        painting
1116   * @param g the graphics context to use for painting
1117   * @param x the X coordinate of the area to paint
1118   * @param y the Y coordinate of the area to paint
1119   * @param w the width of the area to paint
1120   * @param h the height of the area to paint
1121   * @param orientation orientation of the scrollbar
1122   */
1123  public void paintScrollBarThumbBorder(SynthContext ctx, Graphics g, int x,
1124                                        int y, int w, int h, int orientation)
1125  {
1126    // Nothing to do here.
1127  }
1128
1129  /**
1130   * Paints the background of a scrollbar's track.
1131   *
1132   * @param ctx the synth context identifying the component and region for
1133   *        painting
1134   * @param g the graphics context to use for painting
1135   * @param x the X coordinate of the area to paint
1136   * @param y the Y coordinate of the area to paint
1137   * @param w the width of the area to paint
1138   * @param h the height of the area to paint
1139   */
1140  public void paintScrollBarTrackBackground(SynthContext ctx, Graphics g, int x,
1141                                   int y, int w, int h)
1142  {
1143    // Nothing to do here.
1144  }
1145
1146  /**
1147   * Paints the border of a scrollbar's track.
1148   *
1149   * @param ctx the synth context identifying the component and region for
1150   *        painting
1151   * @param g the graphics context to use for painting
1152   * @param x the X coordinate of the area to paint
1153   * @param y the Y coordinate of the area to paint
1154   * @param w the width of the area to paint
1155   * @param h the height of the area to paint
1156   */
1157  public void paintScrollBarTrackBorder(SynthContext ctx, Graphics g, int x,
1158                               int y, int w, int h)
1159  {
1160    // Nothing to do here.
1161  }
1162
1163  /**
1164   * Paints the background of a scroll pane.
1165   *
1166   * @param ctx the synth context identifying the component and region for
1167   *        painting
1168   * @param g the graphics context to use for painting
1169   * @param x the X coordinate of the area to paint
1170   * @param y the Y coordinate of the area to paint
1171   * @param w the width of the area to paint
1172   * @param h the height of the area to paint
1173   */
1174  public void paintScrollPaneBackground(SynthContext ctx, Graphics g, int x,
1175                                   int y, int w, int h)
1176  {
1177    // Nothing to do here.
1178  }
1179
1180  /**
1181   * Paints the border of a scroll pane.
1182   *
1183   * @param ctx the synth context identifying the component and region for
1184   *        painting
1185   * @param g the graphics context to use for painting
1186   * @param x the X coordinate of the area to paint
1187   * @param y the Y coordinate of the area to paint
1188   * @param w the width of the area to paint
1189   * @param h the height of the area to paint
1190   */
1191  public void paintScrollPaneBorder(SynthContext ctx, Graphics g, int x,
1192                               int y, int w, int h)
1193  {
1194    // Nothing to do here.
1195  }
1196
1197  /**
1198   * Paints the background of a separator.
1199   *
1200   * @param ctx the synth context identifying the component and region for
1201   *        painting
1202   * @param g the graphics context to use for painting
1203   * @param x the X coordinate of the area to paint
1204   * @param y the Y coordinate of the area to paint
1205   * @param w the width of the area to paint
1206   * @param h the height of the area to paint
1207   */
1208  public void paintSeparatorBackground(SynthContext ctx, Graphics g, int x,
1209                                   int y, int w, int h)
1210  {
1211    // Nothing to do here.
1212  }
1213
1214  /**
1215   * Paints the border of a separator.
1216   *
1217   * @param ctx the synth context identifying the component and region for
1218   *        painting
1219   * @param g the graphics context to use for painting
1220   * @param x the X coordinate of the area to paint
1221   * @param y the Y coordinate of the area to paint
1222   * @param w the width of the area to paint
1223   * @param h the height of the area to paint
1224   */
1225  public void paintSeparatorBorder(SynthContext ctx, Graphics g, int x,
1226                               int y, int w, int h)
1227  {
1228    // Nothing to do here.
1229  }
1230
1231  /**
1232   * Paints the background of a slider.
1233   *
1234   * @param ctx the synth context identifying the component and region for
1235   *        painting
1236   * @param g the graphics context to use for painting
1237   * @param x the X coordinate of the area to paint
1238   * @param y the Y coordinate of the area to paint
1239   * @param w the width of the area to paint
1240   * @param h the height of the area to paint
1241   */
1242  public void paintSliderBackground(SynthContext ctx, Graphics g, int x,
1243                                   int y, int w, int h)
1244  {
1245    // Nothing to do here.
1246  }
1247
1248  /**
1249   * Paints the border of a slider.
1250   *
1251   * @param ctx the synth context identifying the component and region for
1252   *        painting
1253   * @param g the graphics context to use for painting
1254   * @param x the X coordinate of the area to paint
1255   * @param y the Y coordinate of the area to paint
1256   * @param w the width of the area to paint
1257   * @param h the height of the area to paint
1258   */
1259  public void paintSliderBorder(SynthContext ctx, Graphics g, int x,
1260                               int y, int w, int h)
1261  {
1262    // Nothing to do here.
1263  }
1264
1265  /**
1266   * Paints the background of a slider's thumb.
1267   *
1268   * @param ctx the synth context identifying the component and region for
1269   *        painting
1270   * @param g the graphics context to use for painting
1271   * @param x the X coordinate of the area to paint
1272   * @param y the Y coordinate of the area to paint
1273   * @param w the width of the area to paint
1274   * @param h the height of the area to paint
1275   * @param orientation orientation of the slider
1276   */
1277  public void paintSliderThumbBackground(SynthContext ctx, Graphics g, int x,
1278                                         int y, int w, int h, int orientation)
1279  {
1280    // Nothing to do here.
1281  }
1282
1283  /**
1284   * Paints the border of a slider's thumb.
1285   *
1286   * @param ctx the synth context identifying the component and region for
1287   *        painting
1288   * @param g the graphics context to use for painting
1289   * @param x the X coordinate of the area to paint
1290   * @param y the Y coordinate of the area to paint
1291   * @param w the width of the area to paint
1292   * @param h the height of the area to paint
1293   * @param orientation orientation of the slider
1294   */
1295  public void paintSliderThumbBorder(SynthContext ctx, Graphics g, int x,
1296                                     int y, int w, int h, int orientation)
1297  {
1298    // Nothing to do here.
1299  }
1300
1301  /**
1302   * Paints the background of a slider's track.
1303   *
1304   * @param ctx the synth context identifying the component and region for
1305   *        painting
1306   * @param g the graphics context to use for painting
1307   * @param x the X coordinate of the area to paint
1308   * @param y the Y coordinate of the area to paint
1309   * @param w the width of the area to paint
1310   * @param h the height of the area to paint
1311   */
1312  public void paintSliderTrackBackground(SynthContext ctx, Graphics g, int x,
1313                                   int y, int w, int h)
1314  {
1315    // Nothing to do here.
1316  }
1317
1318  /**
1319   * Paints the border of a slider's track.
1320   *
1321   * @param ctx the synth context identifying the component and region for
1322   *        painting
1323   * @param g the graphics context to use for painting
1324   * @param x the X coordinate of the area to paint
1325   * @param y the Y coordinate of the area to paint
1326   * @param w the width of the area to paint
1327   * @param h the height of the area to paint
1328   */
1329  public void paintSliderTrackBorder(SynthContext ctx, Graphics g, int x,
1330                               int y, int w, int h)
1331  {
1332    // Nothing to do here.
1333  }
1334
1335  /**
1336   * Paints the background of a spinner.
1337   *
1338   * @param ctx the synth context identifying the component and region for
1339   *        painting
1340   * @param g the graphics context to use for painting
1341   * @param x the X coordinate of the area to paint
1342   * @param y the Y coordinate of the area to paint
1343   * @param w the width of the area to paint
1344   * @param h the height of the area to paint
1345   */
1346  public void paintSpinnerBackground(SynthContext ctx, Graphics g, int x,
1347                                   int y, int w, int h)
1348  {
1349    // Nothing to do here.
1350  }
1351
1352  /**
1353   * Paints the border of a spinner.
1354   *
1355   * @param ctx the synth context identifying the component and region for
1356   *        painting
1357   * @param g the graphics context to use for painting
1358   * @param x the X coordinate of the area to paint
1359   * @param y the Y coordinate of the area to paint
1360   * @param w the width of the area to paint
1361   * @param h the height of the area to paint
1362   */
1363  public void paintSpinnerBorder(SynthContext ctx, Graphics g, int x,
1364                               int y, int w, int h)
1365  {
1366    // Nothing to do here.
1367  }
1368
1369  /**
1370   * Paints the background of a split pane.
1371   *
1372   * @param ctx the synth context identifying the component and region for
1373   *        painting
1374   * @param g the graphics context to use for painting
1375   * @param x the X coordinate of the area to paint
1376   * @param y the Y coordinate of the area to paint
1377   * @param w the width of the area to paint
1378   * @param h the height of the area to paint
1379   */
1380  public void paintSplitPaneBackground(SynthContext ctx, Graphics g, int x,
1381                                   int y, int w, int h)
1382  {
1383    // Nothing to do here.
1384  }
1385
1386  /**
1387   * Paints the border of a split pane.
1388   *
1389   * @param ctx the synth context identifying the component and region for
1390   *        painting
1391   * @param g the graphics context to use for painting
1392   * @param x the X coordinate of the area to paint
1393   * @param y the Y coordinate of the area to paint
1394   * @param w the width of the area to paint
1395   * @param h the height of the area to paint
1396   */
1397  public void paintSplitPaneBorder(SynthContext ctx, Graphics g, int x,
1398                               int y, int w, int h)
1399  {
1400    // Nothing to do here.
1401  }
1402
1403  /**
1404   * Paints the background of a split pane's divider.
1405   *
1406   * @param ctx the synth context identifying the component and region for
1407   *        painting
1408   * @param g the graphics context to use for painting
1409   * @param x the X coordinate of the area to paint
1410   * @param y the Y coordinate of the area to paint
1411   * @param w the width of the area to paint
1412   * @param h the height of the area to paint
1413   */
1414  public void paintSplitPaneDividerBackground(SynthContext ctx, Graphics g, int x,
1415                                   int y, int w, int h)
1416  {
1417    // Nothing to do here.
1418  }
1419
1420  /**
1421   * Paints the background of a tabbed pane.
1422   *
1423   * @param ctx the synth context identifying the component and region for
1424   *        painting
1425   * @param g the graphics context to use for painting
1426   * @param x the X coordinate of the area to paint
1427   * @param y the Y coordinate of the area to paint
1428   * @param w the width of the area to paint
1429   * @param h the height of the area to paint
1430   */
1431  public void paintTabbedPaneBackground(SynthContext ctx, Graphics g, int x,
1432                                   int y, int w, int h)
1433  {
1434    // Nothing to do here.
1435  }
1436
1437  /**
1438   * Paints the border of a tabbed pane.
1439   *
1440   * @param ctx the synth context identifying the component and region for
1441   *        painting
1442   * @param g the graphics context to use for painting
1443   * @param x the X coordinate of the area to paint
1444   * @param y the Y coordinate of the area to paint
1445   * @param w the width of the area to paint
1446   * @param h the height of the area to paint
1447   */
1448  public void paintTabbedPaneBorder(SynthContext ctx, Graphics g, int x,
1449                               int y, int w, int h)
1450  {
1451    // Nothing to do here.
1452  }
1453
1454  /**
1455   * Paints the background of the contents of a tabbed pane.
1456   *
1457   * @param ctx the synth context identifying the component and region for
1458   *        painting
1459   * @param g the graphics context to use for painting
1460   * @param x the X coordinate of the area to paint
1461   * @param y the Y coordinate of the area to paint
1462   * @param w the width of the area to paint
1463   * @param h the height of the area to paint
1464   */
1465  public void paintTabbedPaneContentBackground(SynthContext ctx, Graphics g, int x,
1466                                   int y, int w, int h)
1467  {
1468    // Nothing to do here.
1469  }
1470
1471  /**
1472   * Paints the border of the contents of a tabbed pane.
1473   *
1474   * @param ctx the synth context identifying the component and region for
1475   *        painting
1476   * @param g the graphics context to use for painting
1477   * @param x the X coordinate of the area to paint
1478   * @param y the Y coordinate of the area to paint
1479   * @param w the width of the area to paint
1480   * @param h the height of the area to paint
1481   */
1482  public void paintTabbedPaneContentBorder(SynthContext ctx, Graphics g, int x,
1483                               int y, int w, int h)
1484  {
1485    // Nothing to do here.
1486  }
1487
1488  /**
1489   * Paints the background of the tab area of a tabbed pane.
1490   *
1491   * @param ctx the synth context identifying the component and region for
1492   *        painting
1493   * @param g the graphics context to use for painting
1494   * @param x the X coordinate of the area to paint
1495   * @param y the Y coordinate of the area to paint
1496   * @param w the width of the area to paint
1497   * @param h the height of the area to paint
1498   */
1499  public void paintTabbedPaneTabAreaBackground(SynthContext ctx, Graphics g, int x,
1500                                   int y, int w, int h)
1501  {
1502    // Nothing to do here.
1503  }
1504
1505  /**
1506   * Paints the border of the tab area of a tabbed pane.
1507   *
1508   * @param ctx the synth context identifying the component and region for
1509   *        painting
1510   * @param g the graphics context to use for painting
1511   * @param x the X coordinate of the area to paint
1512   * @param y the Y coordinate of the area to paint
1513   * @param w the width of the area to paint
1514   * @param h the height of the area to paint
1515   */
1516  public void paintTabbedPaneTabAreaBorder(SynthContext ctx, Graphics g, int x,
1517                               int y, int w, int h)
1518  {
1519    // Nothing to do here.
1520  }
1521
1522  /**
1523   * Paints the background of a tab of a tabbed pane.
1524   *
1525   * @param ctx the synth context identifying the component and region for
1526   *        painting
1527   * @param g the graphics context to use for painting
1528   * @param x the X coordinate of the area to paint
1529   * @param y the Y coordinate of the area to paint
1530   * @param w the width of the area to paint
1531   * @param h the height of the area to paint
1532   * @param index the index of the tab to paint
1533   */
1534  public void paintTabbedPaneTabBackground(SynthContext ctx, Graphics g, int x,
1535                                           int y, int w, int h, int index)
1536  {
1537    // Nothing to do here.
1538  }
1539
1540  /**
1541   * Paints the border of a tab of a tabbed pane.
1542   *
1543   * @param ctx the synth context identifying the component and region for
1544   *        painting
1545   * @param g the graphics context to use for painting
1546   * @param x the X coordinate of the area to paint
1547   * @param y the Y coordinate of the area to paint
1548   * @param w the width of the area to paint
1549   * @param h the height of the area to paint
1550   * @param index the index of the tab to paint
1551   */
1552  public void paintTabbedPaneTabBorder(SynthContext ctx, Graphics g, int x,
1553                                       int y, int w, int h, int index)
1554  {
1555    // Nothing to do here.
1556  }
1557
1558  /**
1559   * Paints the background of a table.
1560   *
1561   * @param ctx the synth context identifying the component and region for
1562   *        painting
1563   * @param g the graphics context to use for painting
1564   * @param x the X coordinate of the area to paint
1565   * @param y the Y coordinate of the area to paint
1566   * @param w the width of the area to paint
1567   * @param h the height of the area to paint
1568   */
1569  public void paintTableBackground(SynthContext ctx, Graphics g, int x,
1570                                   int y, int w, int h)
1571  {
1572    // Nothing to do here.
1573  }
1574
1575  /**
1576   * Paints the border of a table.
1577   *
1578   * @param ctx the synth context identifying the component and region for
1579   *        painting
1580   * @param g the graphics context to use for painting
1581   * @param x the X coordinate of the area to paint
1582   * @param y the Y coordinate of the area to paint
1583   * @param w the width of the area to paint
1584   * @param h the height of the area to paint
1585   */
1586  public void paintTableBorder(SynthContext ctx, Graphics g, int x,
1587                               int y, int w, int h)
1588  {
1589    // Nothing to do here.
1590  }
1591
1592  /**
1593   * Paints the background of a table's header.
1594   *
1595   * @param ctx the synth context identifying the component and region for
1596   *        painting
1597   * @param g the graphics context to use for painting
1598   * @param x the X coordinate of the area to paint
1599   * @param y the Y coordinate of the area to paint
1600   * @param w the width of the area to paint
1601   * @param h the height of the area to paint
1602   */
1603  public void paintTableHeaderBackground(SynthContext ctx, Graphics g, int x,
1604                                   int y, int w, int h)
1605  {
1606    // Nothing to do here.
1607  }
1608
1609  /**
1610   * Paints the border of a table's header.
1611   *
1612   * @param ctx the synth context identifying the component and region for
1613   *        painting
1614   * @param g the graphics context to use for painting
1615   * @param x the X coordinate of the area to paint
1616   * @param y the Y coordinate of the area to paint
1617   * @param w the width of the area to paint
1618   * @param h the height of the area to paint
1619   */
1620  public void paintTableHeaderBorder(SynthContext ctx, Graphics g, int x,
1621                               int y, int w, int h)
1622  {
1623    // Nothing to do here.
1624  }
1625
1626  /**
1627   * Paints the background of a text area.
1628   *
1629   * @param ctx the synth context identifying the component and region for
1630   *        painting
1631   * @param g the graphics context to use for painting
1632   * @param x the X coordinate of the area to paint
1633   * @param y the Y coordinate of the area to paint
1634   * @param w the width of the area to paint
1635   * @param h the height of the area to paint
1636   */
1637  public void paintTextAreaBackground(SynthContext ctx, Graphics g, int x,
1638                                   int y, int w, int h)
1639  {
1640    // Nothing to do here.
1641  }
1642
1643  /**
1644   * Paints the border of a text area.
1645   *
1646   * @param ctx the synth context identifying the component and region for
1647   *        painting
1648   * @param g the graphics context to use for painting
1649   * @param x the X coordinate of the area to paint
1650   * @param y the Y coordinate of the area to paint
1651   * @param w the width of the area to paint
1652   * @param h the height of the area to paint
1653   */
1654  public void paintTextAreaBorder(SynthContext ctx, Graphics g, int x,
1655                               int y, int w, int h)
1656  {
1657    // Nothing to do here.
1658  }
1659
1660  /**
1661   * Paints the background of a text field.
1662   *
1663   * @param ctx the synth context identifying the component and region for
1664   *        painting
1665   * @param g the graphics context to use for painting
1666   * @param x the X coordinate of the area to paint
1667   * @param y the Y coordinate of the area to paint
1668   * @param w the width of the area to paint
1669   * @param h the height of the area to paint
1670   */
1671  public void paintTextFieldBackground(SynthContext ctx, Graphics g, int x,
1672                                   int y, int w, int h)
1673  {
1674    // Nothing to do here.
1675  }
1676
1677  /**
1678   * Paints the border of a text field.
1679   *
1680   * @param ctx the synth context identifying the component and region for
1681   *        painting
1682   * @param g the graphics context to use for painting
1683   * @param x the X coordinate of the area to paint
1684   * @param y the Y coordinate of the area to paint
1685   * @param w the width of the area to paint
1686   * @param h the height of the area to paint
1687   */
1688  public void paintTextFieldBorder(SynthContext ctx, Graphics g, int x,
1689                               int y, int w, int h)
1690  {
1691    // Nothing to do here.
1692  }
1693
1694  /**
1695   * Paints the background of a text pane.
1696   *
1697   * @param ctx the synth context identifying the component and region for
1698   *        painting
1699   * @param g the graphics context to use for painting
1700   * @param x the X coordinate of the area to paint
1701   * @param y the Y coordinate of the area to paint
1702   * @param w the width of the area to paint
1703   * @param h the height of the area to paint
1704   */
1705  public void paintTextPaneBackground(SynthContext ctx, Graphics g, int x,
1706                                   int y, int w, int h)
1707  {
1708    // Nothing to do here.
1709  }
1710
1711  /**
1712   * Paints the border of a text pane.
1713   *
1714   * @param ctx the synth context identifying the component and region for
1715   *        painting
1716   * @param g the graphics context to use for painting
1717   * @param x the X coordinate of the area to paint
1718   * @param y the Y coordinate of the area to paint
1719   * @param w the width of the area to paint
1720   * @param h the height of the area to paint
1721   */
1722  public void paintTextPaneBorder(SynthContext ctx, Graphics g, int x,
1723                               int y, int w, int h)
1724  {
1725    // Nothing to do here.
1726  }
1727
1728  /**
1729   * Paints the background of a toggle button.
1730   *
1731   * @param ctx the synth context identifying the component and region for
1732   *        painting
1733   * @param g the graphics context to use for painting
1734   * @param x the X coordinate of the area to paint
1735   * @param y the Y coordinate of the area to paint
1736   * @param w the width of the area to paint
1737   * @param h the height of the area to paint
1738   */
1739  public void paintToggleButtonBackground(SynthContext ctx, Graphics g, int x,
1740                                   int y, int w, int h)
1741  {
1742    // Nothing to do here.
1743  }
1744
1745  /**
1746   * Paints the border of a toggle button.
1747   *
1748   * @param ctx the synth context identifying the component and region for
1749   *        painting
1750   * @param g the graphics context to use for painting
1751   * @param x the X coordinate of the area to paint
1752   * @param y the Y coordinate of the area to paint
1753   * @param w the width of the area to paint
1754   * @param h the height of the area to paint
1755   */
1756  public void paintToggleButtonBorder(SynthContext ctx, Graphics g, int x,
1757                               int y, int w, int h)
1758  {
1759    // Nothing to do here.
1760  }
1761
1762  /**
1763   * Paints the background of a toolbar.
1764   *
1765   * @param ctx the synth context identifying the component and region for
1766   *        painting
1767   * @param g the graphics context to use for painting
1768   * @param x the X coordinate of the area to paint
1769   * @param y the Y coordinate of the area to paint
1770   * @param w the width of the area to paint
1771   * @param h the height of the area to paint
1772   */
1773  public void paintToolBarBackground(SynthContext ctx, Graphics g, int x,
1774                                   int y, int w, int h)
1775  {
1776    // Nothing to do here.
1777  }
1778
1779  /**
1780   * Paints the border of a toolbar.
1781   *
1782   * @param ctx the synth context identifying the component and region for
1783   *        painting
1784   * @param g the graphics context to use for painting
1785   * @param x the X coordinate of the area to paint
1786   * @param y the Y coordinate of the area to paint
1787   * @param w the width of the area to paint
1788   * @param h the height of the area to paint
1789   */
1790  public void paintToolBarBorder(SynthContext ctx, Graphics g, int x,
1791                               int y, int w, int h)
1792  {
1793    // Nothing to do here.
1794  }
1795
1796  /**
1797   * Paints the background of the contents of a toolbar.
1798   *
1799   * @param ctx the synth context identifying the component and region for
1800   *        painting
1801   * @param g the graphics context to use for painting
1802   * @param x the X coordinate of the area to paint
1803   * @param y the Y coordinate of the area to paint
1804   * @param w the width of the area to paint
1805   * @param h the height of the area to paint
1806   */
1807  public void paintToolBarContentBackground(SynthContext ctx, Graphics g, int x,
1808                                   int y, int w, int h)
1809  {
1810    // Nothing to do here.
1811  }
1812
1813  /**
1814   * Paints the border of the contents of a toolbar.
1815   *
1816   * @param ctx the synth context identifying the component and region for
1817   *        painting
1818   * @param g the graphics context to use for painting
1819   * @param x the X coordinate of the area to paint
1820   * @param y the Y coordinate of the area to paint
1821   * @param w the width of the area to paint
1822   * @param h the height of the area to paint
1823   */
1824  public void paintToolBarContentBorder(SynthContext ctx, Graphics g, int x,
1825                               int y, int w, int h)
1826  {
1827    // Nothing to do here.
1828  }
1829
1830  /**
1831   * Paints the background of the window of a detached toolbar.
1832   *
1833   * @param ctx the synth context identifying the component and region for
1834   *        painting
1835   * @param g the graphics context to use for painting
1836   * @param x the X coordinate of the area to paint
1837   * @param y the Y coordinate of the area to paint
1838   * @param w the width of the area to paint
1839   * @param h the height of the area to paint
1840   */
1841  public void paintToolBarDragWindowBackground(SynthContext ctx, Graphics g, int x,
1842                                   int y, int w, int h)
1843  {
1844    // Nothing to do here.
1845  }
1846
1847  /**
1848   * Paints the border of the window of a detached toolbar.
1849   *
1850   * @param ctx the synth context identifying the component and region for
1851   *        painting
1852   * @param g the graphics context to use for painting
1853   * @param x the X coordinate of the area to paint
1854   * @param y the Y coordinate of the area to paint
1855   * @param w the width of the area to paint
1856   * @param h the height of the area to paint
1857   */
1858  public void paintToolBarDragWindowBorder(SynthContext ctx, Graphics g, int x,
1859                               int y, int w, int h)
1860  {
1861    // Nothing to do here.
1862  }
1863
1864  /**
1865   * Paints the background of a tool tip.
1866   *
1867   * @param ctx the synth context identifying the component and region for
1868   *        painting
1869   * @param g the graphics context to use for painting
1870   * @param x the X coordinate of the area to paint
1871   * @param y the Y coordinate of the area to paint
1872   * @param w the width of the area to paint
1873   * @param h the height of the area to paint
1874   */
1875  public void paintToolTipBackground(SynthContext ctx, Graphics g, int x,
1876                                   int y, int w, int h)
1877  {
1878    // Nothing to do here.
1879  }
1880
1881  /**
1882   * Paints the border of a tool tip.
1883   *
1884   * @param ctx the synth context identifying the component and region for
1885   *        painting
1886   * @param g the graphics context to use for painting
1887   * @param x the X coordinate of the area to paint
1888   * @param y the Y coordinate of the area to paint
1889   * @param w the width of the area to paint
1890   * @param h the height of the area to paint
1891   */
1892  public void paintToolTipBorder(SynthContext ctx, Graphics g, int x,
1893                               int y, int w, int h)
1894  {
1895    // Nothing to do here.
1896  }
1897
1898  /**
1899   * Paints the background of a tree.
1900   *
1901   * @param ctx the synth context identifying the component and region for
1902   *        painting
1903   * @param g the graphics context to use for painting
1904   * @param x the X coordinate of the area to paint
1905   * @param y the Y coordinate of the area to paint
1906   * @param w the width of the area to paint
1907   * @param h the height of the area to paint
1908   */
1909  public void paintTreeBackground(SynthContext ctx, Graphics g, int x,
1910                                   int y, int w, int h)
1911  {
1912    // Nothing to do here.
1913  }
1914
1915  /**
1916   * Paints the border of a tree.
1917   *
1918   * @param ctx the synth context identifying the component and region for
1919   *        painting
1920   * @param g the graphics context to use for painting
1921   * @param x the X coordinate of the area to paint
1922   * @param y the Y coordinate of the area to paint
1923   * @param w the width of the area to paint
1924   * @param h the height of the area to paint
1925   */
1926  public void paintTreeBorder(SynthContext ctx, Graphics g, int x,
1927                               int y, int w, int h)
1928  {
1929    // Nothing to do here.
1930  }
1931
1932  /**
1933   * Paints the background of a cell in a tree.
1934   *
1935   * @param ctx the synth context identifying the component and region for
1936   *        painting
1937   * @param g the graphics context to use for painting
1938   * @param x the X coordinate of the area to paint
1939   * @param y the Y coordinate of the area to paint
1940   * @param w the width of the area to paint
1941   * @param h the height of the area to paint
1942   */
1943  public void paintTreeCellBackground(SynthContext ctx, Graphics g, int x,
1944                                   int y, int w, int h)
1945  {
1946    // Nothing to do here.
1947  }
1948
1949  /**
1950   * Paints the border of a cell in a tree.
1951   *
1952   * @param ctx the synth context identifying the component and region for
1953   *        painting
1954   * @param g the graphics context to use for painting
1955   * @param x the X coordinate of the area to paint
1956   * @param y the Y coordinate of the area to paint
1957   * @param w the width of the area to paint
1958   * @param h the height of the area to paint
1959   */
1960  public void paintTreeCellBorder(SynthContext ctx, Graphics g, int x,
1961                               int y, int w, int h)
1962  {
1963    // Nothing to do here.
1964  }
1965
1966  /**
1967   * Paints the background of a viewport.
1968   *
1969   * @param ctx the synth context identifying the component and region for
1970   *        painting
1971   * @param g the graphics context to use for painting
1972   * @param x the X coordinate of the area to paint
1973   * @param y the Y coordinate of the area to paint
1974   * @param w the width of the area to paint
1975   * @param h the height of the area to paint
1976   */
1977  public void paintViewportBackground(SynthContext ctx, Graphics g, int x,
1978                                   int y, int w, int h)
1979  {
1980    // Nothing to do here.
1981  }
1982
1983  /**
1984   * Paints the border of a viewport.
1985   *
1986   * @param ctx the synth context identifying the component and region for
1987   *        painting
1988   * @param g the graphics context to use for painting
1989   * @param x the X coordinate of the area to paint
1990   * @param y the Y coordinate of the area to paint
1991   * @param w the width of the area to paint
1992   * @param h the height of the area to paint
1993   */
1994  public void paintViewportBorder(SynthContext ctx, Graphics g, int x,
1995                               int y, int w, int h)
1996  {
1997    // Nothing to do here.
1998  }
1999}