jdk/src/share/demo/jfc/Notepad/resources/Notepad.properties
author duke
Sat, 01 Dec 2007 00:00:00 +0000
changeset 2 90ce3da70b43
child 142 f78032e8a30b
permissions -rw-r--r--
Initial load
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
     1
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
     2
# Resource strings for Notepad example
90ce3da70b43 Initial load
duke
parents:
diff changeset
     3
90ce3da70b43 Initial load
duke
parents:
diff changeset
     4
Title=Notepad
90ce3da70b43 Initial load
duke
parents:
diff changeset
     5
ElementTreeFrameTitle=Elements
90ce3da70b43 Initial load
duke
parents:
diff changeset
     6
ViewportBackingStore=false
90ce3da70b43 Initial load
duke
parents:
diff changeset
     7
90ce3da70b43 Initial load
duke
parents:
diff changeset
     8
# menubar definition
90ce3da70b43 Initial load
duke
parents:
diff changeset
     9
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    10
# Each of the strings that follow form a key to be 
90ce3da70b43 Initial load
duke
parents:
diff changeset
    11
# used to the actual menu definition.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    12
menubar=file edit debug
90ce3da70b43 Initial load
duke
parents:
diff changeset
    13
90ce3da70b43 Initial load
duke
parents:
diff changeset
    14
# file Menu definition
90ce3da70b43 Initial load
duke
parents:
diff changeset
    15
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    16
# Each of the strings that follow form a key to be
90ce3da70b43 Initial load
duke
parents:
diff changeset
    17
# used as the basis of a menu item definition.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    18
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    19
# open ->  Notepad.openAction
90ce3da70b43 Initial load
duke
parents:
diff changeset
    20
# new  ->  Notepad.newAction
90ce3da70b43 Initial load
duke
parents:
diff changeset
    21
# save ->  Notepad.saveAction
90ce3da70b43 Initial load
duke
parents:
diff changeset
    22
# exit ->  Notepad.exitAction
90ce3da70b43 Initial load
duke
parents:
diff changeset
    23
file=new open save - exit
90ce3da70b43 Initial load
duke
parents:
diff changeset
    24
fileLabel=File
90ce3da70b43 Initial load
duke
parents:
diff changeset
    25
openLabel=Open
90ce3da70b43 Initial load
duke
parents:
diff changeset
    26
openImage=resources/open.gif
90ce3da70b43 Initial load
duke
parents:
diff changeset
    27
newLabel=New
90ce3da70b43 Initial load
duke
parents:
diff changeset
    28
newImage=resources/new.gif
90ce3da70b43 Initial load
duke
parents:
diff changeset
    29
saveLabel=Save
90ce3da70b43 Initial load
duke
parents:
diff changeset
    30
saveImage=resources/save.gif
90ce3da70b43 Initial load
duke
parents:
diff changeset
    31
exitLabel=Exit
90ce3da70b43 Initial load
duke
parents:
diff changeset
    32
90ce3da70b43 Initial load
duke
parents:
diff changeset
    33
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    34
# edit Menu definition
90ce3da70b43 Initial load
duke
parents:
diff changeset
    35
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    36
# cut   -> JTextComponent.cutAction
90ce3da70b43 Initial load
duke
parents:
diff changeset
    37
# copy  -> JTextComponent.copyAction
90ce3da70b43 Initial load
duke
parents:
diff changeset
    38
# paste -> JTextComponent.pasteAction
90ce3da70b43 Initial load
duke
parents:
diff changeset
    39
edit=cut copy paste - undo redo
90ce3da70b43 Initial load
duke
parents:
diff changeset
    40
editLabel=Edit
90ce3da70b43 Initial load
duke
parents:
diff changeset
    41
cutLabel=Cut
90ce3da70b43 Initial load
duke
parents:
diff changeset
    42
cutAction=cut-to-clipboard
90ce3da70b43 Initial load
duke
parents:
diff changeset
    43
cutImage=resources/cut.gif
90ce3da70b43 Initial load
duke
parents:
diff changeset
    44
copyLabel=Copy
90ce3da70b43 Initial load
duke
parents:
diff changeset
    45
copyAction=copy-to-clipboard
90ce3da70b43 Initial load
duke
parents:
diff changeset
    46
copyImage=resources/copy.gif
90ce3da70b43 Initial load
duke
parents:
diff changeset
    47
pasteLabel=Paste
90ce3da70b43 Initial load
duke
parents:
diff changeset
    48
pasteAction=paste-from-clipboard
90ce3da70b43 Initial load
duke
parents:
diff changeset
    49
pasteImage=resources/paste.gif
90ce3da70b43 Initial load
duke
parents:
diff changeset
    50
undoLabel=Undo
90ce3da70b43 Initial load
duke
parents:
diff changeset
    51
undoAction=Undo
90ce3da70b43 Initial load
duke
parents:
diff changeset
    52
redoLabel=Redo
90ce3da70b43 Initial load
duke
parents:
diff changeset
    53
redoAction=Redo
90ce3da70b43 Initial load
duke
parents:
diff changeset
    54
90ce3da70b43 Initial load
duke
parents:
diff changeset
    55
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    56
# debug Menu definition
90ce3da70b43 Initial load
duke
parents:
diff changeset
    57
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    58
debug=dump showElementTree
90ce3da70b43 Initial load
duke
parents:
diff changeset
    59
debugLabel=Debug
90ce3da70b43 Initial load
duke
parents:
diff changeset
    60
dumpLabel=Dump model to System.err
90ce3da70b43 Initial load
duke
parents:
diff changeset
    61
dumpAction=dump-model
90ce3da70b43 Initial load
duke
parents:
diff changeset
    62
showElementTreeLabel=Show Elements
90ce3da70b43 Initial load
duke
parents:
diff changeset
    63
90ce3da70b43 Initial load
duke
parents:
diff changeset
    64
# toolbar definition
90ce3da70b43 Initial load
duke
parents:
diff changeset
    65
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    66
# Each of the strings that follow form a key to be
90ce3da70b43 Initial load
duke
parents:
diff changeset
    67
# used as the basis of the tool definition.  Actions
90ce3da70b43 Initial load
duke
parents:
diff changeset
    68
# are of course sharable, and in this case are shared
90ce3da70b43 Initial load
duke
parents:
diff changeset
    69
# with the menu items.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    70
toolbar=new open save - cut copy paste
90ce3da70b43 Initial load
duke
parents:
diff changeset
    71
newTooltip=Create a new file
90ce3da70b43 Initial load
duke
parents:
diff changeset
    72
openTooltip=Open a file
90ce3da70b43 Initial load
duke
parents:
diff changeset
    73
saveTooltip=Save to a file
90ce3da70b43 Initial load
duke
parents:
diff changeset
    74
cutTooltip=Move selection to clipboard
90ce3da70b43 Initial load
duke
parents:
diff changeset
    75
copyTooltip=Copy selection to clipboard
90ce3da70b43 Initial load
duke
parents:
diff changeset
    76
pasteTooltip=Paste clipboard to selection