Thread View: borland.public.jbuilder.java.swing
7 messages
7 total messages
Started by mf
Thu, 21 Oct 2004 21:55
Borland look and feel
Author: mf
Date: Thu, 21 Oct 2004 21:55
Date: Thu, 21 Oct 2004 21:55
3 lines
906 bytes
906 bytes
Is it possible to use the Borland look in feel in my application? -Mark
Re: Borland look and feel
Author: John McGrath [TeamB]
Date: Fri, 22 Oct 2004 08:09
Date: Fri, 22 Oct 2004 08:09
20 lines
1543 bytes
1543 bytes
On 10/21/2004 at 5:55:09 PM, mf wrote:
> Is it possible to use the Borland look in feel in my application?
You can redistribute anything that is in the /redist directory. As of
JBuilder 2005, that includes the Borland Look&Feel, at least with the
Enterprise version.
I suspect that would be the case for Developer, but not for Foundation.
Be sure to check your license and the contents of /redist to be sure what
you can legally do.
--
Regards,
John McGrath [TeamB]
---------------------------------------------------
Before sending me e-mail, please read:
http://www.JPMcGrath.net/newsgroups/e-mail.html
Re: Borland look and feel
Author: Jonathan Wright
Date: Sat, 23 Oct 2004 07:05
Date: Sat, 23 Oct 2004 07:05
37 lines
2105 bytes
2105 bytes
John McGrath [TeamB] wrote on 22/10/2004 at 09:09:26 : > On 10/21/2004 at 5:55:09 PM, mf wrote: > > > Is it possible to use the Borland look in feel in my application? > > You can redistribute anything that is in the /redist directory. As of > JBuilder 2005, that includes the Borland Look&Feel, at least with the > Enterprise version. > > I suspect that would be the case for Developer, but not for > Foundation. Be sure to check your license and the contents of > /redist to be sure what you can legally do. JBuilder 2005 Developer includes the BorlandLookAndFeel in the dist folder. MY only problem is trying to get my Swing app to use the BorlandLookAndFeel. I have add the BorlandLookAndFeel.jar into the Required Libraries for the project and used the following import statement: import com.borland.plaf.borland.BorlandLookAndFeel; But when I try to set the UIManager to use the BorlandLookAndFeel I cannot compile because it's has the error "cannot find symbol; symbol BorlandLookAndFeel, ..." When I use ErrorInsight to suggest a correction it comes up with the same suggestion that I have used. -- All the best Jonathan Wright XanaNews 1.16.4.2
Re: Borland look and feel
Author: Lori M Olson [TeamB]
Date: Sat, 23 Oct 2004 07:55
Date: Sat, 23 Oct 2004 07:55
31 lines
1995 bytes
1995 bytes
Jonathan Wright wrote:
> But when I try to set the UIManager to use the BorlandLookAndFeel I
> cannot compile because it's has the error
>
> "cannot find symbol; symbol BorlandLookAndFeel, ..."
>
> When I use ErrorInsight to suggest a correction it comes up with the
> same suggestion that I have used.
>
Let's see the line of code you are using with the UIManager. It's
probably something simple.
--
Regards,
Lori Olson [TeamB]
------------
Save yourself, and everyone else, some time and search the
newsgroups and the FAQ-O-Matic before posting your next
question.
Google Advanced Newsgroup Search
http://www.google.ca/advanced_group_search
Other Newsgroup Searches:
http://www.borland.com/newsgroups/ngsearch.html
Joi Ellis's FAQ-O-Matic:
http://www.visi.com/~gyles19/fom-serve/cache/1.html
Re: Borland look and feel
Author: Jonathan Wright
Date: Sat, 23 Oct 2004 15:43
Date: Sat, 23 Oct 2004 15:43
25 lines
1680 bytes
1680 bytes
Lori M Olson [TeamB] wrote on 23/10/2004 at 08:55:06 : > Jonathan Wright wrote: > > But when I try to set the UIManager to use the BorlandLookAndFeel I > > cannot compile because it's has the error > > > > "cannot find symbol; symbol BorlandLookAndFeel, ..." > > > > When I use ErrorInsight to suggest a correction it comes up with the > > same suggestion that I have used. > > > > Let's see the line of code you are using with the UIManager. It's > probably something simple. The line of code I'm trying to add is: UIManager.setLookAndFeel(BorlandLookAndFeel); -- All the best Jonathan Wright XanaNews 1.16.4.2
Re: Borland look and feel
Author: Gillmer J. Derge [TeamB]
Date: Sat, 23 Oct 2004 15:55
Date: Sat, 23 Oct 2004 15:55
11 lines
1515 bytes
1515 bytes
Jonathan Wright wrote:
> UIManager.setLookAndFeel(BorlandLookAndFeel);
The two forms of the setLookAndFeel method take either a string or an
instance of LookAndFeel as their argument. You need to do one of these:
UIManager.setLookAndFeel("com.borland.plaf.borland.BorlandLookAndFeel");
UIManager.setLookAndFeel(new BorlandLookAndFeel());
--
Gillmer J. Derge [TeamB]
Re: Borland look and feel
Author: Jonathan Wright
Date: Sat, 23 Oct 2004 16:07
Date: Sat, 23 Oct 2004 16:07
20 lines
1723 bytes
1723 bytes
Gillmer J. Derge [TeamB] wrote on 23/10/2004 at 16:55:05 :
> Jonathan Wright wrote:
> > UIManager.setLookAndFeel(BorlandLookAndFeel);
>
> The two forms of the setLookAndFeel method take either a string or an
> instance of LookAndFeel as their argument. You need to do one of
> these:
>
> UIManager.setLookAndFeel("com.borland.plaf.borland.BorlandLookAndFeel"
> ); UIManager.setLookAndFeel(new BorlandLookAndFeel());
Fantastic, many thanks all worked great .. still picking things as each
day passes but the more I learn the more I like Java and JBuilder :-)
--
All the best
Jonathan Wright
XanaNews 1.16.4.2
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads