Thread Rating:
  • 601 Vote(s) - 2.84 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Getting Started1:Creating a Simple Applet: Hello World
08-15-2016, 03:50 PM, (This post was last modified: 08-15-2016, 04:27 PM by dyoshida.)
#3
RE: Getting Started1:Creating a Simple Applet: Hello World
Probably I think that your default browser is Google chrome or Microsoft edge.
Because Google chrome not supported NPAPI, chrome cannot display an applet in the the browser window.

Please refer this news release. (However, the language is Japanese)
http://www.curlap.com/release/2015/20150806.html

Therefore, I think it better to use a detached applets (.dcurl).
Step1. Create new curl project and select detached applets type.
Step2. Open start.dcurl file. You can see the code, such as:
Code:
{curl 8.0 applet}
{curl-file-attributes character-encoding = "shift-jis"}
{applet manifest = "manifest.mcurl",
    {compiler-directives careful? = true}
}

{View
    {Frame width = 8cm, height = 8cm},
    visibility = "normal",
    {on WindowClose do
        {exit}
    }
}

Step3. Please modify "Frame" like this.
Code:
{Frame width = 8cm, height = 8cm,
    "Hello World"
},



Messages In This Thread
RE: Getting Started1:Creating a Simple Applet: Hello World - by dyoshida - 08-15-2016, 03:50 PM

Possibly Related Threads...
Thread Author Replies Views Last Post
  Styling3:Creating Styles with the Style Designer kino 0 5,086 06-16-2011, 09:52 AM
Last Post: kino
  Serving Content1:Launching a Curl Applet kino 0 5,371 06-15-2011, 05:12 PM
Last Post: kino
  Forms1:Creating Forms kino 0 5,336 06-15-2011, 04:55 PM
Last Post: kino
  User Interface Basics3:Creating Dialogs kino 0 3,360 06-15-2011, 03:55 PM
Last Post: kino
  Getting Started5:Creating Lists kino 0 3,380 06-15-2011, 03:15 PM
Last Post: kino
  Getting Started3:Top-level Applet Specifications kino 0 3,448 06-15-2011, 02:42 PM
Last Post: kino
Forum Jump:


Users browsing this thread:
1 Guest(s)

MyBB SQL Error

MyBB has experienced an internal SQL error and cannot continue.

SQL Error:
1017 - Can't find file: 'mybb_threadviews' (errno: 2)
Query:
INSERT INTO mybb_threadviews (tid) VALUES('1')