JOptionPane Message Dialog is blank

Hi!
I posted this on JavaRanch, but they were stumped. I'm hoping that the Swing forum is the correct place to ask this.
Here's the deal...I'm learning Java and am just typing in the code samples from my book. When I run the program below, I get a blank dialog titled "Message". My co-worker ran the same code on his machine and it ran fine. Do you guys have any suggestions on what might be wrong with my PC setup? We're using Java 1.4.2 here and I've reinstalled it twice, to no avail.
import javax.swing.JOptionPane;
public class Welcome4
public static void main(String[] args)
JOptionPane.showMessageDialog(null, "Welcome\nto\nJava\nProgramming!");
System.exit(0);
Thanks!

I posted this on JavaRanchI'ts great that you've identified this as more of a follow-up post, but including the
link would be better, so we can see what has been suggested/tried and failed,
and perhaps work on alternatives.
http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&f=2&t=014415
is it all message boxes, or just the one?
I have seen some graphic display problem questions solved by reducing the
hardware acceleration (Control Panel)

Similar Messages

  • Problem in Displaying JOptionpane Message Dialog (JRE 1.5.0_04 or later)

    Hi! All,
    I am getting a deadlock kind a situation while displaying JOptionpane message dialog. It's very rare to simulate also. I am also posting the Thread dump which i have taken programmatically, when this situation arises.
    For your Information, I am using JRE 1.5.0_04 or later version on Windows XP.
    We searched on Java.sun.com site, & we got that two bugs are related to our problem, but there are arises in JRE 1.4.2 or before version & have been fixed at JRE 1.5 .
    Follwing are the bugs ID in Sun Bugs Database: 4978089, 4828019.
    Can anyone suggest me which is the stable JRE 1.5 version to avoid this problem. Also can anyone suggest me the workaround of this problem. I want to fix this in our application ASAP.
    following is My Thread Dump :
    Thread[Finalizer,8,system]
         java.lang.Object.wait(Native Method)
         java.lang.ref.ReferenceQueue.remove(Unknown Source)
         java.lang.ref.ReferenceQueue.remove(Unknown Source)
         java.lang.ref.Finalizer$FinalizerThread.run(Unknown Source)
    Thread[Java2D Disposer,10,javawsApplicationThreadGroup]
         java.lang.Object.wait(Native Method)
         java.lang.ref.ReferenceQueue.remove(Unknown Source)
         java.lang.ref.ReferenceQueue.remove(Unknown Source)
         sun.java2d.Disposer.run(Unknown Source)
         java.lang.Thread.run(Unknown Source)
    Thread[JCIL_Sess(813251)_EvtThd(24880015),5,main]
         java.lang.Object.wait(Native Method)
         java.lang.Object.wait(Unknown Source)
         java.awt.EventQueue.invokeAndWait(Unknown Source)
         javax.swing.SwingUtilities.invokeAndWait(Unknown Source)
         in.co.netsol.telecom.desktop.CallAppearanceTable$EventAdapter.OnCallEstablished(CallAppearanceTable.java:982)
         in.co.netsol.telecom.ctios.events.EventSinkAdapter.OnEvent(EventSinkAdapter.java:142)
         com.cisco.cti.ctios.cil.EventPublisher.PostEvent(EventPublisher.java:175)
         com.cisco.cti.ctios.cil.EventPublisher.FireEvent(EventPublisher.java:142)
         com.cisco.cti.ctios.cil.CtiOsSession.FireEvent(CtiOsSession.java:1849)
         com.cisco.cti.ctios.cil.Call.FireEvent(Call.java:254)
         com.cisco.cti.ctios.cil.Call.OnCallEstablishedEvent(Call.java:1136)
         com.cisco.cti.ctios.cil.Call.OnEvent(Call.java:943)
         com.cisco.cti.ctios.cil.CtiOsSession.OnEvent(CtiOsSession.java:2107)
         com.cisco.cti.ctios.cil.CilServiceEvent.ReceiverThread(CilServiceEvent.java:256)
         com.cisco.cti.ctios.cil.CilServiceEvent$1.run(CilServiceEvent.java:173)
    Thread[pool-1-thread-5,5,main]
         java.lang.Object.wait(Native Method)
         java.lang.Object.wait(Unknown Source)
         java.awt.EventQueue.invokeAndWait(Unknown Source)
         javax.swing.SwingUtilities.invokeAndWait(Unknown Source)
         in.co.netsol.telecom.desktop.command.MakeAgentReadyCommand$EventAdapter$1.run(MakeAgentReadyCommand.java:190)
         java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
         java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
         java.lang.Thread.run(Unknown Source)
    Thread[DestroyJavaVM,5,main]
    Thread[AWT-Shutdown,5,javawsApplicationThreadGroup]
         java.lang.Object.wait(Native Method)
         java.lang.Object.wait(Unknown Source)
         sun.awt.AWTAutoShutdown.run(Unknown Source)
         java.lang.Thread.run(Unknown Source)
    Thread[JCIL_Conn(18096534)_Watchdog,5,main]
         java.lang.Object.wait(Native Method)
         com.cisco.cti.ctios.util.UnNamedEvent.WaitForSingleObject(UnNamedEvent.java:147)
         com.cisco.cti.ctios.cil.CilConnection.WatchdogThread(CilConnection.java:527)
         com.cisco.cti.ctios.cil.CilConnection$1.run(CilConnection.java:1071)
    Thread[AWT-EventQueue-0,6,main]
         java.awt.Container.getComponents_NoClientCode(Unknown Source)
         java.awt.Container.getComponents(Unknown Source)
         javax.swing.JToolBar.getComponentAtIndex(Unknown Source)
         javax.swing.plaf.basic.BasicToolBarUI.navigateFocusedComp(Unknown Source)
         javax.swing.plaf.basic.BasicToolBarUI$Actions.actionPerformed(Unknown Source)
         javax.swing.SwingUtilities.notifyAction(Unknown Source)
         javax.swing.JComponent.processKeyBinding(Unknown Source)
         javax.swing.JComponent.processKeyBindings(Unknown Source)
         javax.swing.SwingUtilities.processKeyBindings(Unknown Source)
         javax.swing.UIManager$2.postProcessKeyEvent(Unknown Source)
         java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(Unknown Source)
         java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(Unknown Source)
         java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(Unknown Source)
         java.awt.DefaultKeyboardFocusManager.dispatchEvent(Unknown Source)
         java.awt.Component.dispatchEventImpl(Unknown Source)
         java.awt.Container.dispatchEventImpl(Unknown Source)
         java.awt.Window.dispatchEventImpl(Unknown Source)
         java.awt.Component.dispatchEvent(Unknown Source)
         java.awt.EventQueue.dispatchEvent(Unknown Source)
         java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
         java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         java.awt.EventDispatchThread.run(Unknown Source)
    Thread[AWT-Windows,6,main]
         sun.awt.windows.WToolkit.eventLoop(Native Method)
         sun.awt.windows.WToolkit.run(Unknown Source)
         java.lang.Thread.run(Unknown Source)
    Thread[Timer-0,5,javawsApplicationThreadGroup]
         java.lang.Thread.dumpThreads(Native Method)
         java.lang.Thread.getAllStackTraces(Unknown Source)
         in.co.netsol.telecom.log.ThreadDumpLoggingTask.getStackTraces(ThreadDumpLoggingTask.java:47)
         in.co.netsol.telecom.log.ThreadDumpLoggingTask.run(ThreadDumpLoggingTask.java:36)
         java.util.TimerThread.mainLoop(Unknown Source)
         java.util.TimerThread.run(Unknown Source)
    Thread[JCIL_Conn(18096534)_Rcvr,5,main]
         java.net.SocketInputStream.socketRead0(Native Method)
         java.net.SocketInputStream.read(Unknown Source)
         com.cisco.cti.ctios.cil.NetPort.ReceiveData(NetPort.java:405)
         com.cisco.cti.ctios.cil.NetPort.ReceiveData(NetPort.java:363)
         com.cisco.cti.ctios.cil.CilPacket.ReadFromPort(CilPacket.java:649)
         com.cisco.cti.ctios.cil.CilConnection.ReadPacket(CilConnection.java:670)
         com.cisco.cti.ctios.cil.Connection.ReceiverThread(Connection.java:398)
         com.cisco.cti.ctios.cil.Connection$1.run(Connection.java:472)
    Thread[pool-1-thread-2,5,main]
         java.lang.Object.wait(Native Method)
         java.lang.Object.wait(Unknown Source)
         java.awt.EventQueue.invokeAndWait(Unknown Source)
         javax.swing.SwingUtilities.invokeAndWait(Unknown Source)
         in.co.netsol.telecom.desktop.command.SupervisorAssistCommand$EventAdapter$1.run(SupervisorAssistCommand.java:152)
         java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
         java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
         java.lang.Thread.run(Unknown Source)
    Thread[pool-1-thread-1,5,main]
         java.lang.Object.wait(Native Method)
         java.lang.Object.wait(Unknown Source)
         java.awt.EventQueue.invokeAndWait(Unknown Source)
         javax.swing.SwingUtilities.invokeAndWait(Unknown Source)
         in.co.netsol.telecom.desktop.command.ConferenceCallCommand$EventAdapter$1.run(ConferenceCallCommand.java:144)
         java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
         java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
         java.lang.Thread.run(Unknown Source)
    Thread[JCIL_Svc(5450181)_TxQThd(3083604),5,main]
         java.lang.Object.wait(Native Method)
         java.lang.Object.wait(Unknown Source)
         com.cisco.cti.ctios.util.QueueThread.GetQItem(QueueThread.java:152)
         com.cisco.cti.ctios.util.QueueThread.run(QueueThread.java:259)
    Thread[pool-2-thread-1,5,main]
         java.lang.Object.wait(Native Method)
         java.lang.Object.wait(Unknown Source)
         java.awt.Dialog.show(Unknown Source)
         javax.swing.JOptionPane.showOptionDialog(Unknown Source)
         javax.swing.JOptionPane.showMessageDialog(Unknown Source)
         javax.swing.JOptionPane.showMessageDialog(Unknown Source)
         in.co.netsol.telecom.desktop.DesktopMainPanel$3.run(DesktopMainPanel.java:1871)
         java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
         java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
         java.lang.Thread.run(Unknown Source)
    Thread[Signal Dispatcher,9,system]
    Thread[Reference Handler,10,system]
         java.lang.Object.wait(Native Method)
         java.lang.Object.wait(Unknown Source)
         java.lang.ref.Reference$ReferenceHandler.run(Unknown Source)
    Thread[TimerQueue,5,javawsApplicationThreadGroup]
         java.lang.Object.wait(Native Method)
         javax.swing.TimerQueue.run(Unknown Source)
         java.lang.Thread.run(Unknown Source)
    Thread[pool-1-thread-4,5,main]
         java.lang.Object.wait(Native Method)
         java.lang.Object.wait(Unknown Source)
         java.awt.EventQueue.invokeAndWait(Unknown Source)
         javax.swing.SwingUtilities.invokeAndWait(Unknown Source)
         in.co.netsol.telecom.desktop.command.MakeAgentNotReadyCommand$EventAdapter$1.run(MakeAgentNotReadyCommand.java:146)
         java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
         java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
         java.lang.Thread.run(Unknown Source)
    Thread[pool-1-thread-6,5,main]
         java.lang.Object.wait(Native Method)
         java.lang.Object.wait(Unknown Source)
         java.awt.EventQueue.invokeAndWait(Unknown Source)
         javax.swing.SwingUtilities.invokeAndWait(Unknown Source)
         in.co.netsol.telecom.desktop.command.TransferCallCommand$EventAdapter$1.run(TransferCallCommand.java:136)
         java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
         java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
         java.lang.Thread.run(Unknown Source)
    Thread[traceMsgQueueThread,5,main]
         java.lang.Object.wait(Native Method)
         java.lang.Object.wait(Unknown Source)
         com.sun.deploy.util.Trace$TraceMsgQueueChecker.run(Unknown Source)
         java.lang.Thread.run(Unknown Source)
    Thread[pool-1-thread-3,5,main]
         java.lang.Object.wait(Native Method)
         java.lang.Object.wait(Unknown Source)
         java.awt.EventQueue.invokeAndWait(Unknown Source)
         javax.swing.SwingUtilities.invokeAndWait(Unknown Source)
         in.co.netsol.telecom.desktop.command.EmergencyCommand$EventAdapter$1.run(EmergencyCommand.java:146)
         java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
         java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
         java.lang.Thread.run(Unknown Source)
    Thanks & Regards,
    Pradeep Gupta

    Update to the latest version 1.5.0_06 available from:
    http://java.sun.com/j2se/1.5.0/download.jsp
    It is advisable to remove previous version(s) installations unless required otherwise for a specfic application.

  • JOptionPane show Message Dialog always on top found a Solution

    just thought of a solution for the age old java problem with message boxes / dialogs / input .
    It's funny when you google it you'll find like a million people asking for a solution but none or very few that gives an answer that works.
    this is probly not a new solution but i came up with this yesterday and thought i would "share".
    dunno why the java developers hasnt made a always on top function for this since there seems to be a very high demand for it.
    this hax will hopefully work at all times.
    hope google will find this thread, i searched for a solution yesterday and found none? which is surprising and im a pro googler too.
    import javax.swing.*;
    public class main{
         public static void main(String args[]){
              JFrame j=new JFrame();
              j.setAlwaysOnTop(true);
              j.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              j.setVisible(true);
              j.setVisible(false);
              JOptionPane.showMessageDialog(j,"hi");
              System.exit(0);
    }

    I didn't realize it was an "age old problem." The JOptionPane's showXXX methods just show an ordinary modal dialog. If you want to set the alwaysOnTop property of said dialog then you just need to obtain a reference and call the method in question.
    JOptionPane op = new JOptionPane("hi",JOptionPane.INFORMATION_MESSAGE);
    JDialog dialog = op.createDialog("Message Dialog");
    dialog.setAlwaysOnTop(true); //<-- this line
    dialog.setModal(true);
    dialog.setDefaultCloseOperation(JDialog.DISPOSE_ON_CLOSE);
    dialog.setVisible(true);No need for an intermediate frame.

  • JOptionPane's message dialog over JDialog not recognizing mouse click

    I have a JOptionPane's message dialog like JOptionPane.showMessageDialog() which comes over a JDialog. When I try to click the OK button of this message dialog, nothing is happening. But, Enter key and Escape keys are working on it.
    Can any one give a solution?

    Hi,
    here are the steps how it goes.
    Step 1:
    private void generateMessageDialog(
            String message,
            int messageType,
            String messageTypeText,
            Component parentFrame)
            JOptionPane optionPane = new JOptionPane();
            optionPane.setMessage(message);
            optionPane.setMessageType(messageType);
            JDialog dialog = optionPane.createDialog(parentFrame, 
    messageTypeText);
            dialog.show();
    }If an exception occurs while connecting to my server, this method will be called to generate an error dialog.
    I have another thread which monitors the connection to server every 2500 ms. If the connection is lost, this thread will automatically generates a logon dialog. This dialog is a custom dialog that contains login fields.
    Step 2:
    public void run()
            int previousState = -1;
            while(previousState != CErrorCodes.SESSION_INVALID && previousState != CErrorCodes.NO_CONNECTION_TO_SERVER)
                int currentState = isConnected();
                // Check if a logoff action is pending
                if (currentState == CErrorCodes.REQUEST_SUCCEEDED)
                    if (getClientController().isLogOffPending())
                        break;
                previousState = currentState;
                try
                    sleep(2500);
                catch (InterruptedException e)
                    break;
    // generate the logon  dialog
            getClientController().getLogOnDialog();
    }If step 2 is executed before step 1, then the dialog generated by step 1 will come over the logon dialog generated by step 2. In this case, the ok button of the dialog generated in step 1 will not recognize mouse click. but enter or escape works. Both the dialogs are modal.
    Please let me know if you need furthur info. I look forward for your rep.
    Edited by: MallikMajety on Nov 8, 2007 6:02 AM

  • Need help in makinga message dialog box dissapear automaticly

    hi i have the following code that displays a message dialog box that tells me when a user is online.
    how do i make it disapear automaticly after say, 5 seconds.on msn messenger a similar technique is used where when a user comes online, a message box appears stating who and then dissapears after a couple of seconds..
    i need this to work so that say if a user is away from the pc for such a given time, the message box will just pile up if loads of users have appeared online during the duration that the user was away from his pc..
    here is what i have
    JOptionPane.showMessageDialog(null, "error " + e.getMessage(), "Error", JOptionPane.ERROR_MESSAGE);

    U cant do that using a JOptionPane, use a JDialog instead.
    use dialog.setVisible(true);
    after this start a timertask which executes after 5 seconds and disposes the dialog

  • How to make the length of Message Dialog follows the length of text

    Hi all.
    I am making a Message Dialog From JOptionPane because i do not want to use some static methods of JOptionPane (JOptionPane.Show ...)
    My source codes following :
    public static void showMessageDialog(String message) {
              JOptionPane optionPane = new JOptionPane();
              JDialog dialog = optionPane.createDialog(null, "Message");
              optionPane.setMessage(message);
              optionPane.setMessageType(JOptionPane.INFORMATION_MESSAGE);
              JButton btnOk = new JButton("OK");
              optionPane.setOptions(new Object[] { btnOk });
              dialog.setVisible(true);
    }It runs well but having a problem. When message is a long text --> JDialog can not show all text, dialog's length does not resize automatically following message's length.
    Have a the way to make it ? How to solve ?
    Thanks in advance !
    Diego
    Edited by: ThuCT on Feb 1, 2010 3:28 AM

    Add a dialog.pack() call. See SSCCE below.
    i do not want to use some static methods of JOptionPane (JOptionPane.Show ...)Why? In this case the built-in static method handles the size as expected.
    public class TestJOptionPaneSizeAdaptsToMessageLength {
       public static void main(String... args) {
           String message = "This is a very long message, I say long but really it is a very very long one, and when I say long I do mean it!!! ";
           message += message;
           message += message;
           message += message;
           showMessageDialog(message);
    //       showMessageDialogUsingStaticJOptionPaneMethod(message);
       public static void showMessageDialog(String message) {
            JOptionPane optionPane = new JOptionPane();
            JDialog dialog = optionPane.createDialog(null, "Message");
            optionPane.setMessage(message);
            optionPane.setMessageType(JOptionPane.INFORMATION_MESSAGE);
            JButton btnOk = new JButton("OK");
            optionPane.setOptions(new Object[] { btnOk });
            dialog.pack();
            dialog.setVisible(true);
       public static void showMessageDialogUsingStaticJOptionPaneMethod(String message) {
            JOptionPane.showMessageDialog(null, message);
    }Edited by: jduprez on Feb 1, 2010 11:39 AM
    I have to admit, I am a zealous fan of the built-in JOptionPane.showXxx methods :o)

  • Updating JOptionPane message dynamically

    I need to have a option pane where the message gets updated dynamically, something like "Time remaining n sec" where n decreases by 1 every sec. I am using JOptionPane.setMessage to do this, but sometimes (and it's easy to reproduce), the click on the "OK" button does not work, as if the mouse click event was completely missed. Here is the code, any idea why this could be happening? Any other suggestions?
    import java.util.Timer;
    import javax.swing.*;
    import java.awt.*;
    import java.util.*;
    import java.awt.event.*;
    public class OptionPaneTest
    public void showDialog(JFrame parent)
    JOptionPane pane = new JOptionPane();
    JDialog dialog = pane.createDialog(parent , "some msg");
              TimerTask msgTask = new MessageUpdater(pane, 60);
              Timer msgTimer = new Timer(true);
              msgTimer.scheduleAtFixedRate(msgTask, new Date(), 1000);
    dialog.show();
    msgTask.cancel();
    class MessageUpdater extends TimerTask
    private int time;
    JOptionPane pane = null;
    private static final String msg = "Time left = " ;
    public MessageUpdater(JOptionPane pane, int time)
    this.pane = pane;
    this.time = time;
    public void run()
    if(time >= 0)
    SwingUtilities.invokeLater(new Runnable()
    public void run()
    pane.setMessage(msg + time);
    time --;
    public static void main(String[] args)
    try
    UIManager.setLookAndFeel("com.sun.java.swing.plaf.windows.WindowsLookAndFeel");
    catch (Exception e) { };
    JFrame frame = new JFrame();
    frame.setSize(300,400);
    frame.setLocation(200,200);
    frame.show();
    OptionPaneTest opt = new OptionPaneTest();
    opt.showDialog(frame);
    Thanks!

    Hello Raman,
    out of ca. 40 trials I could reproduce the effect twice. Is such a ratio inacceptable for you? It is obviously not a coding problem. I met similar phenomenons with quite simple GUIs, particularly with 1.3, but much, much less with 1.4.
    If you can spare the JOptionPane, you might try to display the seconds on a (temporarily) free part of your GUI. Not a great idea, I know; and of course, there's no guarantee.
    Regards
    Joerg

  • Message dialogs

    Hi,
    In my code I am showing a message dialog (using a Message object) and checking which button was pressed (Yes, No, Cancel). The dialog is shown a number of times in a loop. The first time it works fine, but then it starts to give the result as 0 every time, no matter which button is pressed. I am reusing the same Message object.
    Oddly, if a different message dialog is shown inbetween showing the original one and checking its result, this seems to fix the problem.
    Does anyone know why this could be happening?
    Thanks for any help you may be able to give,
    Katie

    Try this:
    public class DialogTest extends JApplet {
    //------------- properties -----------------------------------------
    JButton
         b1 = new JButton("Start");
    ActionListener al = new ActionListener() {
         public void actionPerformed(ActionEvent e) {
         int n = optionPane.showConfirmDialog(null, "choose one", "choose two", JOptionPane.YES_NO_OPTION);
         txt.setText("Choice " + n);
    JLabel
         txt = new JLabel("INIT");
    final JOptionPane optionPane = new JOptionPane();
    public void init(){
         Container cp = getContentPane();
         cp.setLayout(new FlowLayout());
         cp.add(b1);
         b1.addActionListener(al);
         cp.add(txt);
    }//init()
    //----------

  • Duplicate message dialogs

    Hi,
    I am outputting a message dialog from a thread within an applet.
    However when I do this, I aleways get two dialogs the same, one
    hidden behind the applet.
    I assume that since it normally only produces one dialog, it has
    something to do with the thread.
    Does anyone have any ide how to resolve this problem ?
    Sue

    I can't reproduce your problem. I downloaded SwingWorker 3 and used this code:import java.awt.*;
    import javax.swing.*;
    public class Test extends JApplet {
        public void init () {
            new SwingWorker () {
                public Object construct () {
                    return new ArchiveRestorePullTask ();
            }.start ();
            getContentPane ().add (new JLabel ("Just testing...", SwingConstants.CENTER));
        private class ArchiveRestorePullTask {
            public ArchiveRestorePullTask () {
                try {
                    Thread.sleep (5000);
                } catch (InterruptedException exception) {}
                if (true) {
                    Toolkit.getDefaultToolkit ().beep ();
                    JOptionPane.showMessageDialog (Test.this, "Archive complete", "Archive complete", JOptionPane.INFORMATION_MESSAGE, null);
    }Kind regards,
      Levi

  • When I send a text message to my two children with non-smart phones, the message comes throug blank. When I send a message to them one at a time it will go through but not multiple addresses. Can this problem be fixed?

    When I send a text message on my iPhone 4s to my two children with non-smart phones, the message comes through blank. If I send it to each one individually, it will go through ok. Is this a problem with my phone or it is something I am doing wrong.

    Check your phone to make sure MMS is turned on. If it is, check with your cell provider and make sure your phone is provisioned correctly.

  • How to change the Button content as CamelCasing in Windows phone 8.1 Message dialog

    This was already raised in
    Stack over flow, While showing the native Message dialog in Windows phone, i cant change the captions as camel case of command buttons. Is this a bug with windows phone 8.1(WinRT) are is there any workaround to fix this issue?
    Sankar

    This isn't recommended and violates the system style.
    If you want a custom dialog you need to use a different control. The MessageDialog always lower cases the buttons to match the system style and is not generally customizable.
    If you use a ContentDialog you can customize it fairly extensively, and it doesn't try to fix the case of its buttons. You'll probably want to create your own ContentDialog class (there's a template under Add.New Item...) with your desired contents, but here's
    a quick content-free example:
    ContentDialog cd = new ContentDialog();
    cd.Title = "My Title";
    cd.PrimaryButtonText = "CoNtInUe";
    cd.SecondaryButtonText = "sToP";
    await cd.ShowAsync();
    Also note that the guidelines
    for message dialogs suggest using clear and specific verbs rather than generic OK/Cancel.

  • JRE 1.6. 0_01 is giving issues in message dialog box size

    Hi There,
    I am displaying message dialog for one of my web application. To resize the dialog automatically, I have set getPrefferedSize() property.
    This is working fine with JRE 1.5.0_11 and all lower version, even ok with 1.4.x. But if I am viewing the applet in a browser having JRE 1.6.0, dialog box size is automatically streatched. Height of the dialog box is increased automatically more than the desktop height. I can not view top & bottom area of the dialog box on my desktop.
    Please guide me why is this issue only with JRE 1.6.0 and what should I do to eliminate & resolve it.
    Thanks.

    Really? I thought all official versions would be downloadable through webstart. I'm curious why would Sun not make them available. Now I need to explain to my higher-ups why I promised to get webstart to automatically update all our user's JRE but now failed to make good. :-(
    Regarding the printing problem: With b105 the printouts would have text that is upside, mirrored and cropped. It was a total mess. The problem is reproducible. We manually upgraded some users to b106 and the problem disappeared completely. I think Sun fixed it in 106 but now the problem is getting all our users onto JRE b106.
    Java Webstart is supposed to do this for me but now it appears to be failing me big time.

  • Cant get rid of JOptionPane Message title

    Im trying to get some user input using a JOptionPane message. I am able to get the information that im looking for but when the window comes up there is a header that says "JOptionPane message" and I would like to get rid of this. Here is the code that I am using. Any help would be greatly appreciated
    JOptionPane addItem = new JOptionPane();
    Object[] o = {addAddress, addItemAddress, addDescription, addItemDescription, ok};
    addItem.setOptions(o);
    d = addItem.createDialog(null, "Add Item to Address Book");
    d.setVisible(true);

    Thanks for all of your help. I needed to specify what the Message was I wanted in the title.
    addItem.setMessage("Add Item");
    JOptionPane addItem = new JOptionPane();
    Object[] o = {addAddress, addItemAddress, addDescription, addItemDescription, ok};
    addItem.setOptions(o);
    d = addItem.createDialog(null, "Add Item to Address Book");
    d.setVisible(true);JOptionPane addItem = new JOptionPane();
    Object[] o = {addAddress, addItemAddress, addDescription, addItemDescription, ok};
    addItem.setOptions(o);
    addItem.setMessage("Add Item");
    d = addItem.createDialog(null, "Add Item to Address Book");
    d.setVisible(true);

  • SQL plus pop up message dialog

    Dear all,
    Did anyone come across any experience like that:
    When I execute a SQL statment that may need return a several thousands line in SQLPlus,
    If I used SQLPlus version 3.3.4.00 (Oracle 7), a pop up message dialog will come up like
    "Query is Executing ..." and a "Cancel" button is available in dialog box also.
    However, If I used SQLPlus version 8.0.5 (Oracle 8 or laster), this pop up won't show up anymore.
    The pop up is useful if I need to break the process and I just want to know if anything is required to configured on latest SQLPlus to activate this!
    Thanks and Regards
    Kenneth

    The removal of the cancel dialog was an unfortunate side effect
    of an internal rewrite of SQL*Plus code in 8.0. The fundamental
    problem still persists into 9i and it is not until 9i release 2
    (being touted on www.oracle.com) that the iSQL*Plus web interface
    (though not the SQL*Plus GUI on Windows) has a cancel button.
    This was spoken about on the OTN iSQL*Pus discussion forum a
    while back.
    -- CJ

  • Why is the message window always blank for Amazon emails

    I get emails from Amazon but the message window is blank
    Just what i said above. I've gotten several emails from Amazon. It's always the same, the message window is always empty.
    Also When I'm emailing a buddy of mine and we are going back and forth using the same original email we always change color of the font with each reply. However after several exchanges I quit getting his newest response. The message comes back to me but doesn't have his last reply. To see it I have to go to Earthlink's Webmail to get the rest of the message.

    Firefox doesn't do email, it's strictly a web browser.
    If you are using Firefox to access your mail, you are using "web-mail". You need to seek support from your service provider or a forum for that service.
    If your problem is with Mozilla Thunderbird, let us know and we can move this thread to the Thunderbird queue. This question currently is in the Firefox queue for answers.

Maybe you are looking for

  • Error in processing [/useradmin/index.jsp]

    In our PI system 7.1, when we try the below url http://hostname.xx.xxx.com:50000/useradmin/index.jsp we are getting the below error "500   Internal Server Error   SAP NetWeaver Application Server 7.11 / AS Java 7.11    Error: "Error in processing [/u

  • Billing Plan and Promotions for Service Agreements

    Hello Friends, We have a requirement here, that we want to sell a 1 Yr Service Agreement (Price of $1200) on a promotion who ever buys this service agreement will not be billed till three months (for evaluation purpose) and say if they like it and wa

  • Invalid cursor error in procedure

    i am writing a procedure in which i have make use of cursor........it is giving me error INVALID CURSOR on running i have used this cursor with WITH CLAUSE.... when i am executing or running this procedure this giving me invalid cursor error create o

  • [LXDE] doesn't start as normal user...

    Hello! This is the problem: I've installed lxde and openbox, but when I try to log in lxde (using kdm or simply typing "startx" or "startlxde") it doesn't start and nothing happens. With the root account I can use lxde, and all is ok. Please help me

  • Apps frozen in transition after apple genius bar did a hard reset, cant get thru app store either

    Went to apple genius bar after 6 hours of trying to fix iphone 4s: couldn't send/rec photo txt msgs, get voicemail alerts, update software upgrades or back up files in icloud. They did a hard reset and fixed those issues, however the majority of my a