المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : JOptionPane.showMessageDialog



Java Programming
10-17-2009, 06:31 AM
My problem is this. How can a put a function instead of a string in the next context: JOptionPane.showMessageDialog(null, "some string", JOptionPane.INFORMATION_MESSAGE) I have a class called Class1 and a button in Class2 that shows me a dialog box. so instead of "some string" how can i put a...