Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 12661 invoked from network); 9 Aug 2007 07:18:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 9 Aug 2007 07:18:08 -0000 Received: (qmail 6228 invoked by uid 500); 9 Aug 2007 07:18:04 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 6212 invoked by uid 500); 9 Aug 2007 07:18:04 -0000 Mailing-List: contact commits-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list commits@harmony.apache.org Received: (qmail 6203 invoked by uid 99); 9 Aug 2007 07:18:04 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Aug 2007 00:18:04 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Aug 2007 07:18:04 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 8A68B7141E2 for ; Thu, 9 Aug 2007 00:17:44 -0700 (PDT) Message-ID: <21991895.1186643864523.JavaMail.jira@brutus> Date: Thu, 9 Aug 2007 00:17:44 -0700 (PDT) From: "Chunrong Lai (JIRA)" To: commits@harmony.apache.org Subject: [jira] Created: (HARMONY-4613) [classlib][swing] SetOptions/SetMessage of JOptionPane not implemented MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [classlib][swing] SetOptions/SetMessage of JOptionPane not implemented ---------------------------------------------------------------------- Key: HARMONY-4613 URL: https://issues.apache.org/jira/browse/HARMONY-4613 Project: Harmony Issue Type: Bug Components: Classlib Environment: win32 Reporter: Chunrong Lai Here's the simple test demonstrating the problem: import javax.swing.*; public class OptionPaneTest { public static void main(String[] args) { JFrame frame = new JFrame("OPTest"); JButton yesButton = new JButton("Yes"); JButton noButton = new JButton("No"); JButton[] buttons = {yesButton, noButton}; JDialog dialog = new JDialog(frame, true); dialog.setDefaultCloseOperation(WindowConstants.DISPOSE_ON_CLOSE); JOptionPane optionPane = new JOptionPane();; optionPane.setMessageType(JOptionPane.PLAIN_MESSAGE); optionPane.setOptions(buttons); optionPane.setMessage("Can we show the dislog?"); dialog.setTitle("JOptionPane Test"); dialog.getContentPane().add(optionPane); dialog.pack(); dialog.setLocationRelativeTo(dialog.getParent()); dialog.show(); } } -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.