<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to Home</title><link>https://sourceforge.net/p/toast-swing/wiki/Home/</link><description>Recent changes to Home</description><atom:link href="https://sourceforge.net/p/toast-swing/wiki/Home/feed" rel="self"/><language>en</language><lastBuildDate>Wed, 13 Feb 2019 13:36:17 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/toast-swing/wiki/Home/feed" rel="self" type="application/rss+xml"/><item><title>Home modified by Miguel Alejan. Moreno Barrientos</title><link>https://sourceforge.net/p/toast-swing/wiki/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v7
+++ v8
@@ -3,10 +3,10 @@
 ~~~ java
 mToast.setAlwaysOnTop(false);  // default true
 ~~~ 
-Also, you can set *backend JLabel* used by **Toast** by calling **#getToastLabel()**, although not all methods produce a good result.
+Also, you can set the *backend JLabel* used by **Toast** by calling **#getToastLabel()**, although not all methods in *JLabel* produce a good result.

-**Example class:**
+**Example launchers:**

 ~~~ java
 public class Test 
@@ -28,6 +28,29 @@
 }
 ~~~ 

+~~~ java
+public class Launcher 
+{
+   public static void main(String[] args) 
+   {
+       final Toast[] toasts = {
+           new Toast( "toast1", Toast.HALF_SECOND ),
+           new Toast( "toast2", new Point( 100, 100 ), Toast.FOUR_SECONDS ),
+           new Toast( "toast3", new Point( 500, 500 ), Toast.TWO_SECONDS ),
+           new Toast( "toast4", new Point( 900, 0 ), Toast.ONE_SECOND ),
+           new Toast( "toast5", new Point( 400, 300 ), 0 ),
+       };
+       
+       Arrays.stream( toasts )
+             .forEach( toast -&amp;gt; toast.getToastLabel().setBackground( new Color( 
+                 new Random().nextInt( 0x1000000 ) ) ) );
+
+       Arrays.stream( toasts )
+             .forEach( Toast::showToast );
+   }
+}
+~~~ 
+

 [[members limit=20]]
 [[download_button]]
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Miguel Alejan. Moreno Barrientos</dc:creator><pubDate>Wed, 13 Feb 2019 13:36:17 -0000</pubDate><guid>https://sourceforge.net01c20d394f1be3bb3c327e0b3ea1efdb84df4499</guid></item><item><title>Home modified by Miguel Alejan. Moreno Barrientos</title><link>https://sourceforge.net/p/toast-swing/wiki/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v6
+++ v7
@@ -1,3 +1,11 @@
+***Toast***  is a *Swing component* which extends **JWindow**, so you can set any toast before showing using *JWindow methods*,
+for instance;
+~~~ java
+mToast.setAlwaysOnTop(false);  // default true
+~~~ 
+Also, you can set *backend JLabel* used by **Toast** by calling **#getToastLabel()**, although not all methods produce a good result.
+
+
 **Example class:**

 ~~~ java
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Miguel Alejan. Moreno Barrientos</dc:creator><pubDate>Wed, 13 Feb 2019 11:00:16 -0000</pubDate><guid>https://sourceforge.net371c338e9b1cc3b11e9ec1551d8f7391dca1c5f3</guid></item><item><title>Home modified by Miguel Alejan. Moreno Barrientos</title><link>https://sourceforge.net/p/toast-swing/wiki/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v5
+++ v6
@@ -6,7 +6,7 @@
    public static void main(String[] args) 
    {
        // show toast
-       Toast t = new Toast( "Testing, 1,2,3...",  2000 ).showToast();
+       Toast t = new Toast( "Testing, 1,2,3...", Toast.TWO_SECONDS ).showToast();

        try { Thread.sleep( 4000 ); } 
        catch ( InterruptedException ignored ) {}
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Miguel Alejan. Moreno Barrientos</dc:creator><pubDate>Wed, 13 Feb 2019 10:38:46 -0000</pubDate><guid>https://sourceforge.net97c9dd4d1d156c63f1c236c796d0957046059846</guid></item><item><title>Home modified by Miguel Alejan. Moreno Barrientos</title><link>https://sourceforge.net/p/toast-swing/wiki/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v4
+++ v5
@@ -20,8 +20,6 @@
 }
 ~~~

-![](https://youtu.be/PsSFkTMkUIo)
-

 [[members limit=20]]
 [[download_button]]
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Miguel Alejan. Moreno Barrientos</dc:creator><pubDate>Wed, 13 Feb 2019 00:05:56 -0000</pubDate><guid>https://sourceforge.netb465d4b495d068581fcf20a67d33691d064292b4</guid></item><item><title>Home modified by Miguel Alejan. Moreno Barrientos</title><link>https://sourceforge.net/p/toast-swing/wiki/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v3
+++ v4
@@ -20,6 +20,8 @@
 }
 ~~~

+![](https://youtu.be/PsSFkTMkUIo)
+

 [[members limit=20]]
 [[download_button]]
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Miguel Alejan. Moreno Barrientos</dc:creator><pubDate>Wed, 13 Feb 2019 00:05:28 -0000</pubDate><guid>https://sourceforge.net1ea1b4a49b05927d47913c8f333edb3b0037473c</guid></item><item><title>Home modified by Miguel Alejan. Moreno Barrientos</title><link>https://sourceforge.net/p/toast-swing/wiki/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v2
+++ v3
@@ -1,5 +1,6 @@
-Example class:
+**Example class:**

+~~~ java
 public class Test 
 {
    public static void main(String[] args) 
@@ -17,14 +18,8 @@
        t.showToast();
    }
 }
+~~~ 

-
-
-Welcome to your wiki!
-
-This is the default page, edit it as you see fit. To add a new page simply reference it within brackets, e.g.: [SamplePage].
-
-The wiki uses [Markdown](/p/toast-swing/wiki/markdown_syntax/) syntax.

 [[members limit=20]]
 [[download_button]]
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Miguel Alejan. Moreno Barrientos</dc:creator><pubDate>Tue, 12 Feb 2019 21:22:45 -0000</pubDate><guid>https://sourceforge.netdb492f91d69dd091d78d6316ac92b3c1030b49b2</guid></item><item><title>Home modified by Miguel Alejan. Moreno Barrientos</title><link>https://sourceforge.net/p/toast-swing/wiki/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v1
+++ v2
@@ -1,3 +1,25 @@
+Example class:
+
+public class Test 
+{
+   public static void main(String[] args) 
+   {
+       // show toast
+       Toast t = new Toast( "Testing, 1,2,3...",  2000 ).showToast();
+       
+       try { Thread.sleep( 4000 ); } 
+       catch ( InterruptedException ignored ) {}
+       
+       // show again
+       t.getToastLabel().setFont( new Font(Font.MONOSPACED, Font.PLAIN, 30) );
+       t.getToastLabel().setBackground( Color.WHITE );
+       t.getToastLabel().setForeground( Color.BLACK );     
+       t.showToast();
+   }
+}
+
+
+
 Welcome to your wiki!

 This is the default page, edit it as you see fit. To add a new page simply reference it within brackets, e.g.: [SamplePage].
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Miguel Alejan. Moreno Barrientos</dc:creator><pubDate>Tue, 12 Feb 2019 21:20:35 -0000</pubDate><guid>https://sourceforge.net52896cbb32c8e19d6f4e8c738f798ac32c59bf7c</guid></item><item><title>Home modified by Miguel Alejan. Moreno Barrientos</title><link>https://sourceforge.net/p/toast-swing/wiki/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Welcome to your wiki!&lt;/p&gt;
&lt;p&gt;This is the default page, edit it as you see fit. To add a new page simply reference it within brackets, e.g.: &lt;span&gt;[SamplePage]&lt;/span&gt;.&lt;/p&gt;
&lt;p&gt;The wiki uses &lt;a class="" href="/p/toast-swing/wiki/markdown_syntax/"&gt;Markdown&lt;/a&gt; syntax.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;h6&gt;Project Members:&lt;/h6&gt;
	&lt;ul class="md-users-list"&gt;
		&lt;li&gt;&lt;a href="/u/mamb/"&gt;Miguel Alejan. Moreno Barrientos&lt;/a&gt; (admin)&lt;/li&gt;
		
	&lt;/ul&gt;&lt;br/&gt;
&lt;p&gt;&lt;span class="download-button-5c6334d4cd84850c4ee4991b" style="margin-bottom: 1em; display: block;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Miguel Alejan. Moreno Barrientos</dc:creator><pubDate>Tue, 12 Feb 2019 21:04:20 -0000</pubDate><guid>https://sourceforge.net514686a5948b823229688b637a0057d767250c73</guid></item></channel></rss>