ඔයාලට system එකේ difault theme එක දාගන්න ඕනිනම් UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
code එක try catch එක අතුලෙ දාගන්න. එත්කොට ඔයාලගෙ system os එකේ default තීම් එක software එකට දාගන්න පුලුවන්.
try {
UIManager.setLookAndFeel(new WindowsLookAndFeel());
} catch (Exception e) {
e.printStackTrace();
}
}
No comments:
Post a Comment