Article View: comp.lang.java.programmer
Article #431Pop up a message box in applet
From: morris_newsgroup
Date: Mon, 29 Jun 1998 00:00
Date: Mon, 29 Jun 1998 00:00
23 lines
1994 bytes
1994 bytes
I have an applet which accepts input from users through a GUI. I'm trying to pop up a message box with only an OK button when users make an error. Is this doable in applet or I can only do this in an application instead. I think this is a general java gui question. By the way, I'm using JBuilder2 and found that when I dropped a message component onto my applet. I can't find a frame which the message component can use. In other words, there was nothing in the frame property of the message component. I tried to create a frame inside the applet source code and it seemed to have some security errors when I ran the applet in the browser. Does anyone know anything about this? It may not be just a JBuilder2 question. In general, I would like to know if it's possible that I can pop up a message box with either just a message or a text box which users can enter something in an applet. Sample code would be helpful if this is possible. Thanks for your help in advance, Morris -----== Posted via Deja News, The Leader in Internet Discussion ==----- http://www.dejanews.com/rg_mkgrp.xp Create Your Own Free Member Forum
Technical Details
Message-ID:
<6n6nh9$bd1$1@nnrp1.dejanews.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10fd6d,afddcc2748cf26d8,start X-Google-Attributes: gid10fd6d,public X-Google-Thread: fa3e3,afddcc2748cf26d8,start X-Google-Attributes: gidfa3e3,public X-Google-Thread: f74b3,afddcc2748cf26d8,start X-Google-Attributes: gidf74b3,public X-Google-Thread: 10a146,afddcc2748cf26d8,start X-Google-Attributes: gid10a146,public From: morris_newsgroup@yahoo.com Subject: Pop up a message box in applet Date: 1998/06/29 Message-ID: <6n6nh9$bd1$1@nnrp1.dejanews.com> X-Deja-AN: 366936679 X-Http-User-Agent: Mozilla/4.04 [en] (WinNT; I) Organization: Deja News - The Leader in Internet Discussion X-Article-Creation-Date: Mon Jun 29 00:35:52 1998 GMT Newsgroups: comp.lang.java.programmer,borland.public.jbuilder.java.language,comp.lang.java.gui,borland.public.jbuilder.ide