![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#11 |
|
Programmer
|
Its easy to do Toro.
import javax.swing.*;
//import all your other classes as usuall
class MyJFrame extends JFrame
{
public static void main(String[] args)
{
try
{
UIManager.setLookAndFeel(
UIManager.getSystemLookAndFeelClassName());
//This will set the look and feel to the platform
//So it will look like a windows app on windows, a gtk app on
//linux etc.
} catch (Exception e){}
//now you can do all you other code, like create the instance of
//MyJFrame and they will all look like windows forms.
}
}I hoped this helped, i did it off the top of my head so their might be a spelling mistake or 2 in the code ![]()
__________________
Bite My Shiny Metal Ass |
|
|
|
|
|
#12 | |
|
Programmer
|
Quote:
dogs dinner == not aesthetically pleasing, or ugly. Another random one would be like the back end of a horse. Its just the British way. ![]()
__________________
Bite My Shiny Metal Ass |
|
|
|
|
|
|
#13 |
|
Expert Programmer
Join Date: Dec 2004
Posts: 794
Rep Power: 4
![]() |
I'm going to replace "OH, FUCK" with "OH, UNDERPANTS" the next time I do something stupid like resting my hand on a hot McDonalds grill.
P.S. Adak, where are you from? ¿De donde eres? or perhaps D'où es-tu?
__________________
Few people deserve to be compared to (Rush) Limbaugh, most of them were convicted at the Nuremburg trials. --WilliamSChips on Slashdot |
|
|
|
|
|
#14 |
|
Hobbyist Programmer
Join Date: Apr 2006
Posts: 136
Rep Power: 0
![]() |
@nemesis: In my previous project I posted. It was a text editor. That text editor had an option where you could change the GUI look and feel with a radio button. Thanks for the tip but I already got it on lock
![]() |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|