yes ,i got your mail for translation.but it is okay..
I need to create distribution package.I 

Thank You,
Tintu Mary George

________________________________________
From: jump-pilot-devel-requ...@lists.sourceforge.net
Sent: Wednesday, May 15, 2013 3:17 PM
To: jump-pilot-devel@lists.sourceforge.net
Subject: Jump-pilot-devel Digest, Vol 84, Issue 21

Send Jump-pilot-devel mailing list submissions to
        jump-pilot-devel@lists.sourceforge.net

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
or, via email, send a message with subject or body 'help' to
        jump-pilot-devel-requ...@lists.sourceforge.net

You can reach the person managing the list at
        jump-pilot-devel-ow...@lists.sourceforge.net

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Jump-pilot-devel digest..."


Today's Topics:

   1. Re: how to built own built of openjump (Tintu mary George)
   2. Re: how to built own built of openjump (edgar.sol...@web.de)
   3. Re: Need translation help with Jump DB Query
      Internationalization (edgar.sol...@web.de)


----------------------------------------------------------------------

Message: 1
Date: Wed, 15 May 2013 07:47:14 +0000
From: Tintu mary George <tintu.geo...@rptechsoft.com>
Subject: Re: [JPP-Devel] how to built own built of openjump
To: "jump-pilot-devel@lists.sourceforge.net"
        <jump-pilot-devel@lists.sourceforge.net>
Message-ID:
        
<312af12150c549e89923a571b3d50...@hkxpr06mb023.apcprd06.prod.outlook.com>

Content-Type: text/plain; charset="us-ascii"



Hi,
I tried the steps provided in
http://sourceforge.net/apps/mediawiki/jump-pilot/index.php?title=How_to_make_your_own_OpenJUMP_built

but its getting error like this..


Buildfile: E:\workspace\openjump\etc\build.xml
prepare:
compile:
    [javac] E:\workspace\openjump\etc\build.xml:120: warning: 
'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to 
false for repeatable builds
    [javac] Compiling 1261 source files to E:\workspace\openjump\build\classes
    [javac] warning: [options] bootstrap class path not set in conjunction with 
-source 1.5
    [javac] 
E:\workspace\openjump\src\org\openjump\test\DialogParametersTest.java:21: 
error: package org.junit does not exist
    [javac] import org.junit.Test;
    [javac]                 ^
    [javac] 
E:\workspace\openjump\src\org\openjump\test\PerformanceUtilsTest.java:21: 
error: package org.junit does not exist
    [javac] import static org.junit.Assert.assertTrue;
    [javac]                        ^
    [javac] 
E:\workspace\openjump\src\org\openjump\test\PerformanceUtilsTest.java:21: 
error: static import only from classes and interfaces
    [javac] import static org.junit.Assert.assertTrue;
    [javac] ^
    [javac] 
E:\workspace\openjump\src\org\openjump\test\PerformanceUtilsTest.java:22: 
error: package org.junit does not exist
    [javac] import static org.junit.Assert.assertEquals;
    [javac]                        ^
    [javac] 
E:\workspace\openjump\src\org\openjump\test\PerformanceUtilsTest.java:22: 
error: static import only from classes and interfaces
    [javac] import static org.junit.Assert.assertEquals;
    [javac] ^
    [javac] 
E:\workspace\openjump\src\org\openjump\test\PerformanceUtilsTest.java:24: 
error: package org.junit does not exist
    [javac] import org.junit.Test;
    [javac]                 ^
    [javac] 
E:\workspace\openjump\src\org\openjump\test\ReflectionUtilsTest.java:21: error: 
package org.junit does not exist
    [javac] import static org.junit.Assert.assertEquals;
    [javac]                        ^
    [javac] 
E:\workspace\openjump\src\org\openjump\test\ReflectionUtilsTest.java:21: error: 
static import only from classes and interfaces
    [javac] import static org.junit.Assert.assertEquals;
    [javac] ^
    [javac] 
E:\workspace\openjump\src\org\openjump\test\ReflectionUtilsTest.java:25: error: 
package org.junit does not exist
    [javac] import org.junit.Test;
    [javac]                 ^
    [javac] E:\workspace\openjump\src\org\openjump\test\TestToolsTest.java:21: 
error: package org.junit does not exist
    [javac] import static org.junit.Assert.assertEquals;
    [javac]                        ^
    [javac] E:\workspace\openjump\src\org\openjump\test\TestToolsTest.java:21: 
error: static import only from classes and interfaces
    [javac] import static org.junit.Assert.assertEquals;
    [javac] ^
    [javac] E:\workspace\openjump\src\org\openjump\test\TestToolsTest.java:22: 
error: package org.junit does not exist
    [javac] import static org.junit.Assert.assertNotNull;
    [javac]                        ^
    [javac] E:\workspace\openjump\src\org\openjump\test\TestToolsTest.java:22: 
error: static import only from classes and interfaces
    [javac] import static org.junit.Assert.assertNotNull;
    [javac] ^
    [javac] E:\workspace\openjump\src\org\openjump\test\TestToolsTest.java:29: 
error: package org.junit does not exist
    [javac] import org.junit.After;
    [javac]                 ^
    [javac] E:\workspace\openjump\src\org\openjump\test\TestToolsTest.java:30: 
error: package org.junit does not exist
    [javac] import org.junit.AfterClass;
    [javac]                 ^
    [javac] E:\workspace\openjump\src\org\openjump\test\TestToolsTest.java:31: 
error: package org.junit does not exist
    [javac] import org.junit.Before;
    [javac]                 ^
    [javac] E:\workspace\openjump\src\org\openjump\test\TestToolsTest.java:32: 
error: package org.junit does not exist
    [javac] import org.junit.BeforeClass;
    [javac]                 ^
    [javac] E:\workspace\openjump\src\org\openjump\test\TestToolsTest.java:33: 
error: package org.junit does not exist
    [javac] import org.junit.Test;
    [javac]                 ^
    [javac] 
E:\workspace\openjump\src\org\openjump\test\DialogParametersTest.java:33: 
error: cannot find symbol
    [javac]     @Test
    [javac]      ^
    [javac]   symbol:   class Test
    [javac]   location: class DialogParametersTest
    [javac] 
E:\workspace\openjump\src\org\openjump\test\DialogParametersTest.java:46: 
error: cannot find symbol
    [javac]     @Test
    [javac]      ^
    [javac]   symbol:   class Test
    [javac]   location: class DialogParametersTest
    [javac] 
E:\workspace\openjump\src\org\openjump\test\DialogParametersTest.java:59: 
error: cannot find symbol
    [javac]     @Test
    [javac]      ^
    [javac]   symbol:   class Test
    [javac]   location: class DialogParametersTest
    [javac] 
E:\workspace\openjump\src\org\openjump\test\DialogParametersTest.java:72: 
error: cannot find symbol
    [javac]     @Test
    [javac]      ^
    [javac]   symbol:   class Test
    [javac]   location: class DialogParametersTest
    [javac] 
E:\workspace\openjump\src\org\openjump\test\DialogParametersTest.java:85: 
error: cannot find symbol
    [javac]     @Test
    [javac]      ^
    [javac]   symbol:   class Test
    [javac]   location: class DialogParametersTest
    [javac] 
E:\workspace\openjump\src\org\openjump\test\PerformanceUtilsTest.java:42: 
error: cannot find symbol
    [javac]     @Test
    [javac]      ^
    [javac]   symbol:   class Test
    [javac]   location: class PerformanceUtilsTest
    [javac] 
E:\workspace\openjump\src\org\openjump\test\ReflectionUtilsTest.java:36: error: 
cannot find symbol
    [javac]     @Test
    [javac]      ^
    [javac]   symbol:   class Test
    [javac]   location: class ReflectionUtilsTest
    [javac] 
E:\workspace\openjump\src\org\openjump\test\ReflectionUtilsTest.java:43: error: 
cannot find symbol
    [javac]     @Test(expected=NoSuchFieldException.class)
    [javac]      ^
    [javac]   symbol:   class Test
    [javac]   location: class ReflectionUtilsTest
    [javac] 
E:\workspace\openjump\src\org\openjump\test\ReflectionUtilsTest.java:50: error: 
cannot find symbol
    [javac]     @Test
    [javac]      ^
    [javac]   symbol:   class Test
    [javac]   location: class ReflectionUtilsTest
    [javac] 
E:\workspace\openjump\src\org\openjump\test\ReflectionUtilsTest.java:58: error: 
cannot find symbol
    [javac]     @Test
    [javac]      ^
    [javac]   symbol:   class Test
    [javac]   location: class ReflectionUtilsTest
    [javac] 
E:\workspace\openjump\src\org\openjump\test\ReflectionUtilsTest.java:65: error: 
cannot find symbol
    [javac]     @Test(expected=NoSuchFieldException.class)
    [javac]      ^
    [javac]   symbol:   class Test
    [javac]   location: class ReflectionUtilsTest
    [javac] 
E:\workspace\openjump\src\org\openjump\test\ReflectionUtilsTest.java:72: error: 
cannot find symbol
    [javac]     @Test
    [javac]      ^
    [javac]   symbol:   class Test
    [javac]   location: class ReflectionUtilsTest
    [javac] E:\workspace\openjump\src\org\openjump\test\TestToolsTest.java:65: 
error: cannot find symbol
    [javac]     @BeforeClass
    [javac]      ^
    [javac]   symbol:   class BeforeClass
    [javac]   location: class TestToolsTest
    [javac] E:\workspace\openjump\src\org\openjump\test\TestToolsTest.java:75: 
error: cannot find symbol
    [javac]     @Before
    [javac]      ^
    [javac]   symbol:   class Before
    [javac]   location: class TestToolsTest
    [javac] E:\workspace\openjump\src\org\openjump\test\TestToolsTest.java:80: 
error: cannot find symbol
    [javac]     @After
    [javac]      ^
    [javac]   symbol:   class After
    [javac]   location: class TestToolsTest
    [javac] E:\workspace\openjump\src\org\openjump\test\TestToolsTest.java:89: 
error: cannot find symbol
    [javac]     @AfterClass
    [javac]      ^
    [javac]   symbol:   class AfterClass
    [javac]   location: class TestToolsTest
    [javac] E:\workspace\openjump\src\org\openjump\test\TestToolsTest.java:99: 
error: cannot find symbol
    [javac]     @Test
    [javac]      ^
    [javac]   symbol:   class Test
    [javac]   location: class TestToolsTest
    [javac] E:\workspace\openjump\src\org\openjump\test\TestToolsTest.java:106: 
error: cannot find symbol
    [javac]     @Test
    [javac]      ^
    [javac]   symbol:   class Test
    [javac]   location: class TestToolsTest
    [javac] E:\workspace\openjump\src\org\openjump\test\TestToolsTest.java:117: 
error: cannot find symbol
    [javac]     @Test
    [javac]      ^
    [javac]   symbol:   class Test
    [javac]   location: class TestToolsTest
    [javac] E:\workspace\openjump\src\org\openjump\test\TestToolsTest.java:128: 
error: cannot find symbol
    [javac]     @Test
    [javac]      ^
    [javac]   symbol:   class Test
    [javac]   location: class TestToolsTest
    [javac] E:\workspace\openjump\src\org\openjump\test\TestToolsTest.java:142: 
error: cannot find symbol
    [javac]     @Test
    [javac]      ^
    [javac]   symbol:   class Test
    [javac]   location: class TestToolsTest
    [javac] E:\workspace\openjump\src\org\openjump\test\TestToolsTest.java:158: 
error: cannot find symbol
    [javac]     @Test(expected=NoSuchFieldException.class)
    [javac]      ^
    [javac]   symbol:   class Test
    [javac]   location: class TestToolsTest
    [javac] E:\workspace\openjump\src\org\openjump\test\TestToolsTest.java:171: 
error: cannot find symbol
    [javac]     @Test(expected=NoSuchFieldException.class)
    [javac]      ^
    [javac]   symbol:   class Test
    [javac]   location: class TestToolsTest
    [javac] E:\workspace\openjump\src\org\openjump\test\TestToolsTest.java:184: 
error: cannot find symbol
    [javac]     @Test
    [javac]      ^
    [javac]   symbol:   class Test
    [javac]   location: class TestToolsTest
    [javac] E:\workspace\openjump\src\org\openjump\test\TestToolsTest.java:202: 
error: cannot find symbol
    [javac]     @Test
    [javac]      ^
    [javac]   symbol:   class Test
    [javac]   location: class TestToolsTest
    [javac] E:\workspace\openjump\src\org\openjump\test\TestToolsTest.java:220: 
error: cannot find symbol
    [javac]     @Test(expected=IllegalArgumentException.class)
    [javac]      ^
    [javac]   symbol:   class Test
    [javac]   location: class TestToolsTest
    [javac] 
E:\workspace\openjump\src\org\openjump\test\PerformanceUtilsTest.java:39: 
error: cannot find symbol
    [javac]         assertTrue(startTime <= System.nanoTime());
    [javac]         ^
    [javac]   symbol:   method assertTrue(boolean)
    [javac]   location: class PerformanceUtilsTest
    [javac] 
E:\workspace\openjump\src\org\openjump\test\PerformanceUtilsTest.java:48: 
error: cannot find symbol
    [javac]         assertEquals(150, duration / 1.0e6, 50.0);
    [javac]         ^
    [javac]   symbol:   method assertEquals(int,double,double)
    [javac]   location: class PerformanceUtilsTest
    [javac] 
E:\workspace\openjump\src\org\openjump\test\ReflectionUtilsTest.java:40: error: 
cannot find symbol
    [javac]         assertEquals("foo", privateField(object, "privateField"));
    [javac]         ^
    [javac]   symbol:   method assertEquals(String,Object)
    [javac]   location: class ReflectionUtilsTest
    [javac] 
E:\workspace\openjump\src\org\openjump\test\ReflectionUtilsTest.java:55: error: 
cannot find symbol
    [javac]         assertEquals("bar", privateField(object, "privateField"));
    [javac]         ^
    [javac]   symbol:   method assertEquals(String,Object)
    [javac]   location: class ReflectionUtilsTest
    [javac] 
E:\workspace\openjump\src\org\openjump\test\ReflectionUtilsTest.java:62: error: 
cannot find symbol
    [javac]         assertEquals("foo", privateStaticField(cls, 
"privateStaticField"));
    [javac]         ^
    [javac]   symbol:   method assertEquals(String,Object)
    [javac]   location: class ReflectionUtilsTest
    [javac] 
E:\workspace\openjump\src\org\openjump\test\ReflectionUtilsTest.java:77: error: 
cannot find symbol
    [javac]         assertEquals("bar", privateStaticField(cls, 
"privateStaticField"));
    [javac]         ^
    [javac]   symbol:   method assertEquals(String,Object)
    [javac]   location: class ReflectionUtilsTest
    [javac] E:\workspace\openjump\src\org\openjump\test\TestToolsTest.java:102: 
error: cannot find symbol
    [javac]         assertNotNull(workbench.getFrame());
    [javac]         ^
    [javac]   symbol:   method assertNotNull(WorkbenchFrame)
    [javac]   location: class TestToolsTest
    [javac] E:\workspace\openjump\src\org\openjump\test\TestToolsTest.java:103: 
error: cannot find symbol
    [javac]         assertNotNull(workbench.getContext());
    [javac]         ^
    [javac]   symbol:   method assertNotNull(WorkbenchContext)
    [javac]   location: class TestToolsTest
    [javac] E:\workspace\openjump\src\org\openjump\test\TestToolsTest.java:113: 
error: cannot find symbol
    [javac]         assertEquals(1, layerManager.getLayers().size());
    [javac]         ^
    [javac]   symbol:   method assertEquals(int,int)
    [javac]   location: class TestToolsTest
    [javac] E:\workspace\openjump\src\org\openjump\test\TestToolsTest.java:114: 
error: cannot find symbol
    [javac]         assertNotNull(layerManager.getLayer("dissolve"));
    [javac]         ^
    [javac]   symbol:   method assertNotNull(Layer)
    [javac]   location: class TestToolsTest
    [javac] E:\workspace\openjump\src\org\openjump\test\TestToolsTest.java:124: 
error: cannot find symbol
    [javac]         assertEquals(1, layerManager.getLayers().size());
    [javac]         ^
    [javac]   symbol:   method assertEquals(int,int)
    [javac]   location: class TestToolsTest
    [javac] E:\workspace\openjump\src\org\openjump\test\TestToolsTest.java:125: 
error: cannot find symbol
    [javac]         assertNotNull(layerManager.getLayer("dissolve"));
    [javac]         ^
    [javac]   symbol:   method assertNotNull(Layer)
    [javac]   location: class TestToolsTest
    [javac] E:\workspace\openjump\src\org\openjump\test\TestToolsTest.java:139: 
error: cannot find symbol
    [javac]         assertEquals("foo", privateField(plugin, "parameter1"));
    [javac]         ^
    [javac]   symbol:   method assertEquals(String,Object)
    [javac]   location: class TestToolsTest
    [javac] E:\workspace\openjump\src\org\openjump\test\TestToolsTest.java:154: 
error: cannot find symbol
    [javac]         assertNotNull(dialog);
    [javac]         ^
    [javac]   symbol:   method assertNotNull(MultiInputDialog)
    [javac]   location: class TestToolsTest
    [javac] E:\workspace\openjump\src\org\openjump\test\TestToolsTest.java:155: 
error: cannot find symbol
    [javac]         assertEquals("foo", dialog.getText("parameter1"));
    [javac]         ^
    [javac]   symbol:   method assertEquals(String,String)
    [javac]   location: class TestToolsTest
    [javac] E:\workspace\openjump\src\org\openjump\test\TestToolsTest.java:198: 
error: cannot find symbol
    [javac]         assertEquals("foo", blackboard.get("parameter1"));
    [javac]         ^
    [javac]   symbol:   method assertEquals(String,Object)
    [javac]   location: class TestToolsTest
    [javac] E:\workspace\openjump\src\org\openjump\test\TestToolsTest.java:199: 
error: cannot find symbol
    [javac]         assertEquals(42, blackboard.get("parameter2"));
    [javac]         ^
    [javac]   symbol:   method assertEquals(int,Object)
    [javac]   location: class TestToolsTest
    [javac] E:\workspace\openjump\src\org\openjump\test\TestToolsTest.java:216: 
error: cannot find symbol
    [javac]         assertEquals("foo", blackboard.get("parameter1"));
    [javac]         ^
    [javac]   symbol:   method assertEquals(String,Object)
    [javac]   location: class TestToolsTest
    [javac] E:\workspace\openjump\src\org\openjump\test\TestToolsTest.java:217: 
error: cannot find symbol
    [javac]         assertEquals(42, blackboard.get("parameter2"));
    [javac]         ^
    [javac]   symbol:   method assertEquals(int,Object)
    [javac]   location: class TestToolsTest
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 63 errors
    [javac] 1 warning

BUILD FAILED
E:\workspace\openjump\etc\build.xml:120: Compile failed; see the compiler error 
output for details.

Total time: 8 seconds


I create one folder.inside that i made subfolder like

\build
\dist
\docs
\etc

\scripts
\src
\src\com
\src\org
\src\de
\src\language,

and copy the contents from  source folder of openjump.and run the build.xml 
through ant. but i got above errors.

I am using Eclipse. please help to built own jump built.

thank you,
tintu mary george









------------------------------

Message: 2
Date: Wed, 15 May 2013 10:35:14 +0200
From: edgar.sol...@web.de
Subject: Re: [JPP-Devel] how to built own built of openjump
To: OpenJump develop and use <jump-pilot-devel@lists.sourceforge.net>
Message-ID: <519348c2.9020...@web.de>
Content-Type: text/plain; charset=ISO-8859-1

On 15.05.2013 09:47, Tintu mary George wrote:
>
>
> Hi,
> I tried the steps provided in
> http://sourceforge.net/apps/mediawiki/jump-pilot/index.php?title=How_to_make_your_own_OpenJUMP_built
>
> but its getting error like this..
>
>
> Buildfile: E:\workspace\openjump\etc\build.xml
> prepare:
> compile:
>     [javac] E:\workspace\openjump\etc\build.xml:120: warning: 
> 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set 
> to false for repeatable builds
>     [javac] Compiling 1261 source files to E:\workspace\openjump\build\classes
>     [javac] warning: [options] bootstrap class path not set in conjunction 
> with -source 1.5
>     [javac] 
> E:\workspace\openjump\src\org\openjump\test\DialogParametersTest.java:21: 
> error: package org.junit does not exist
>     [javac] import org.junit.Test;
>     [javac]                 ^
>     [javac] 
> E:\workspace\openjump\src\org\openjump\test\PerformanceUtilsTest.java:21: 
> error: package org.junit does not exist
>     [javac] import static org.junit.Assert.assertTrue;
>     [javac]                        ^
>     [javac] 
> E:\workspace\openjump\src\org\openjump\test\PerformanceUtilsTest.java:21: 
> error: static import only from classes and interfaces
>     [javac] import static org.junit.Assert.assertTrue;
>     [javac] ^
SNIP
>     [javac]   symbol:   method assertEquals(String,Object)
>     [javac]   location: class TestToolsTest
>     [javac] 
> E:\workspace\openjump\src\org\openjump\test\TestToolsTest.java:199: error: 
> cannot find symbol
>     [javac]         assertEquals(42, blackboard.get("parameter2"));
>     [javac]         ^
>     [javac]   symbol:   method assertEquals(int,Object)
>     [javac]   location: class TestToolsTest
>     [javac] 
> E:\workspace\openjump\src\org\openjump\test\TestToolsTest.java:216: error: 
> cannot find symbol
>     [javac]         assertEquals("foo", blackboard.get("parameter1"));
>     [javac]         ^
>     [javac]   symbol:   method assertEquals(String,Object)
>     [javac]   location: class TestToolsTest
>     [javac] 
> E:\workspace\openjump\src\org\openjump\test\TestToolsTest.java:217: error: 
> cannot find symbol
>     [javac]         assertEquals(42, blackboard.get("parameter2"));
>     [javac]         ^
>     [javac]   symbol:   method assertEquals(int,Object)
>     [javac]   location: class TestToolsTest
>     [javac] Note: Some input files use or override a deprecated API.
>     [javac] Note: Recompile with -Xlint:deprecation for details.
>     [javac] Note: Some input files use unchecked or unsafe operations.
>     [javac] Note: Recompile with -Xlint:unchecked for details.
>     [javac] 63 errors
>     [javac] 1 warning
>
> BUILD FAILED
> E:\workspace\openjump\etc\build.xml:120: Compile failed; see the compiler 
> error output for details.
>
> Total time: 8 seconds
>
>
> I create one folder.inside that i made subfolder like
>
> \build
> \dist
> \docs
> \etc
>
> \scripts
> \src
> \src\com
> \src\org
> \src\de
> \src\language,
>
> and copy the contents from  source folder of openjump.and run the build.xml 
> through ant. but i got above errors.
>
> I am using Eclipse. please help to built own jump built.
>


do you want to create a distribution package /or/ just compile OJ?

for the package i suggest you use plain maven (no eclipse no nothing) and the 
parameters described on
http://sourceforge.net/apps/mediawiki/jump-pilot/index.php?title=Creating_an_OJ_release_version

you can of course stay with the ant build file, which is no longer maintained. 
look that you have the lib/junit.jar in your classpath. did you add all jars in 
lib/ to your classpath anyway?

i asked you about translation in another mail. did you get it?

..ede



------------------------------

Message: 3
Date: Wed, 15 May 2013 11:47:18 +0200
From: edgar.sol...@web.de
Subject: Re: [JPP-Devel] Need translation help with Jump DB Query
        Internationalization
To: OpenJump develop and use <jump-pilot-devel@lists.sourceforge.net>
Message-ID: <519359a6.5030...@web.de>
Content-Type: text/plain; charset=ISO-8859-1

ok, i see.

for an accelerator i suggest you write a mini plugin and register it with the 
workbench. make sure the enablecheck checks that your dialog has focus, so it 
does not get executed wildly. but you can try a standard accelerator first. an 
OJ shortcut would overrule it though and it wouldn't show up in the shortcut 
info under Help.

with regards to mnemonics - afaik they do not exist on Mac
http://developer.apple.com/library/mac/#documentation/Java/Conceptual/Java14Development/07-NativePlatformIntegration/NativePlatformIntegration.html
just checked OJ on Mac and even though OJ has them by default for the main 
menu's, the characters are not underlined.

so using the Cmd key is effectively using a plain shortcut. you can easily ask 
your jre to give a proper description string for a KeyStroke. like

  private String getKeyStrokeText(KeyStroke stroke) {
    String mod = KeyEvent.getModifiersExText(stroke.getModifiers());
    String out = (mod.length() > 0 ? mod + "+" : "")
        + KeyEvent.getKeyText(stroke.getKeyCode());
    return out;
  }

whatever the shortcut then, it'll print out the proper string (eg. Alt+key on 
win, Cmd+key on mac) for usage in your translation text. i use that in 
ShortcutKeysPlugin.

finally, if you switch over to a shortcut i suggest you stick with an identical 
one for all platforms (with Ctrl being Cmd on mac being the exception). so 
either Alt+R or Ctrl/Cmd+R would be fine, seems like they currently unused. if 
you use JumpWorkbenchFrame.addKeyboardShortcut(KeyStroke stroke, PlugIn plugIn) 
a Ctrl+key shortcut is automagically mapped to Cmd+key on Mac.

..ede


On 15.05.2013 05:55, Larry Reeder wrote:
> Thanks Ede.  I'm aware of the differences in Cmd on MacOS and Alt elsewhere.  
> Cmd is the "mouseless modifier" (see 
> http://docs.oracle.com/javase/6/docs/api/javax/swing/AbstractButton.html#setMnemonic%28int%29)
>  that the JRE chooses to use on Mac.  This particular functionality was 
> submitted as a patch by an OJ user who used MacOS as a primary workstation.   
> Admittedly, the "cmd+r" makes no sense for someone who is not using OJ on a 
> Mac.   I'd like to say something like "mouseless modifier+r", but that's not 
> going to make sense to anyone - Mac, Linux, or Windows.
>
> And, this particular shortcut/mnemonic isn't working quite right for me on 
> Linux, so I'll have to patch it anyway, and may remove the mnemonic and use 
> an accelerator instead.  So, in the interest of moving forward, I'd like to 
> sidestep the issue by dropping "cmd+r" from the string.  Instead, can you 
> just translate this:
>
> dbquery.tooltip.refresh.layer=Refresh the layer created by the current query
>
>
> Thanks.........       lreeder
>
>
>
> On Tue, May 14, 2013 at 3:02 AM, <edgar.sol...@web.de 
> <mailto:edgar.sol...@web.de>> wrote:
>
>     ok, guessed so.
>     but be aware, Cmd on mac is used (confusingly) like Ctrl on other 
> operating systems. e.g. copy/paste Ctrl+C vs Cmd+C, Ctrl+V vs Cmd+V, ...
>     additionally Cmd+Left Click is expected to show the context menu for on 
> button mice (gotta love your legacy ;)
>
>     so, Cmd is actually not a MacOS Alt key replacement. instead the Option 
> key
>     http://en.wikipedia.org/wiki/Option_key
>     is mapped as Alt key and also available as such.
>
>     as i see it. you should
>     - change your code to use Alt on all platforms
>     - use the exact key name, if keys differ on platforms, so users don't 
> start searching for keys they do not have ;)
>
>     do want me to finish the translation disregardless ?
>
>     ..ede
>
>
>     but you should use java to tell you which string (Alt vs. Cmd) to show, 
> as windows users might get confused over the key not existing on their 
> keyboard.
>
>     On 14.05.2013 05:20, Larry Reeder wrote:
>     > Hey Ede,
>     >
>     > "cmd" is the "mouseless modifier" key to trigger the mnemonic.  It's 
> Alt on Windows and Linux, and Cmd on MacOS.
>     >
>     >  -Larry
>     >
>     >
>     > On Sat, May 11, 2013 at 12:55 PM, Rahkonen Jukka 
> <jukka.rahko...@mmmtike.fi <mailto:jukka.rahko...@mmmtike.fi> 
> <mailto:jukka.rahko...@mmmtike.fi <mailto:jukka.rahko...@mmmtike.fi>>> wrote:
>     >
>     >     Hi,
>     >
>     >     Finnish translation attached. It may need some fine tuning once I 
> will see it in the real UI.
>     >
>     >     -Jukka Rahkonen-
>     >
>     >     ________________________________
>     >     Larry Reeder wrote:
>     >
>     >     > All,  I need help translating the strings in the Jump DB Query 
> Plugin.  I've got English covered :-), but if you speak something else, 
> please provide a translation for the strings in the attached file. Note that 
> one of the values is parameterized:
>     >
>     >     dbquery.query.info <http://dbquery.query.info> 
> <http://dbquery.query.info><http://dbquery.query.info>=Query returned 
> {0,number,integer} features in {1,number,integer} {2}
>     >
>     >     The parameters are in the { } braces, and the code will fill those 
> portions in.  With parameters filled in, in English, this would read 
> something like: "Query returned 15 features in 23 seconds.  "
>     >
>     >     I just need the part outside the braces translated.  Thanks!
>     >
>     >
>     >      -lreeder
>     >
>
>     
> ------------------------------------------------------------------------------
>     AlienVault Unified Security Management (USM) platform delivers complete
>     security visibility with the essential security capabilities. Easily and
>     efficiently configure, manage, and operate all of your security controls
>     from a single console and one unified framework. Download a free trial.
>     http://p.sf.net/sfu/alienvault_d2d
>     _______________________________________________
>     Jump-pilot-devel mailing list
>     Jump-pilot-devel@lists.sourceforge.net 
> <mailto:Jump-pilot-devel@lists.sourceforge.net>
>     https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>
>
>
>
> ------------------------------------------------------------------------------
> AlienVault Unified Security Management (USM) platform delivers complete
> security visibility with the essential security capabilities. Easily and
> efficiently configure, manage, and operate all of your security controls
> from a single console and one unified framework. Download a free trial.
> http://p.sf.net/sfu/alienvault_d2d
>
>
>
> _______________________________________________
> Jump-pilot-devel mailing list
> Jump-pilot-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>



------------------------------

------------------------------------------------------------------------------
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d

------------------------------

_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


End of Jump-pilot-devel Digest, Vol 84, Issue 21
************************************************

------------------------------------------------------------------------------
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to