i would prefer a SVG+JS GUI in JHS as GTK is currently not available in most(?) Android platforms.
greg ~krsnadas.org -- from: John Baker <[email protected]> to: Programming forum <[email protected]> date: 31 December 2012 08:32 subject: Re: [Jprogramming] Is there a standard graphics library for J7? I'd second Bob's remarks. JHS takes some getting used to but I now spend more time in JHS than all other J interfaces combined. To make full use of JHS requires getting into JavaScript, CSS and HTML but thankfully that unholy triad is as close to universal as it gets. With advancing years my patience for relearning interfaces every five years is wearing thin. I'll do it one more time for JHS and then, something is going to have do something really amazing, like accurately predict tomorrows stock prices, to repeat the exercise. --- John D. Baker [email protected] -- On Mon, Dec 31, 2012 at 9:55 AM, bob therriault <[email protected]>wrote: Kip, The iPad version runs on the iPhone down to the 3GS level (although a little slower than on the iPad). Henry, Once you have a server running the J engine, JHS just requires a modern browser and JavaScript to be available. The graphics available for interfaces or other displays are whatever is available on the web. I have used HTML and SVG, and I would imagine that webGL would be available as well. I find I spend a lot of time programming JavaScript when I develop interfaces, but I think that the JHS version is the one that has the best potential for wide distribution. The iPad version is not the same as JHS, but because it allows HTML access through the jy verb those tools are transferrable for at least part of the screen. In the case of the iPad, the HTML cannot yet trigger the J interpreter the way that you can using events on JHS. These are all personal opinions. I would love to here the experience of others, especially if it differs. :) Cheers, bob -- from: Björn Helgason <[email protected]> to: [email protected] date: 31 December 2012 08:27 subject: Re: [Jprogramming] Is there a standard graphics library for J7? I go between different J guis and platforms. I have not touched J6 for a very long time now in order to force myself to learn J7 better. Still there are confusion possibilities going between the console/JHS/GTK in different OSs. Example: on the PC using JHS you can use some GTK but moving that script to the Android it will fail. Graphics and grids are most likely to cause confusion. I have a hard time choosing because both GTK and JHS are excelent each in their own way. I tend to use the Android more and more and there I use JHS mostly but the console a bit too. -- On 2012-12-31, at 7:36 AM, km wrote: I use the iPad version for casual use, the JHS version for serious use, have avoided GTK. I have just acquired the Android version for my smartphone -- it is different from the iPad version and, I suppose, the iPhone version if the latter exists. There have been a variety of graphics "libraries" supported in JHS, perhaps Eric could comment. I want to point out you can set up use of JHS in parallel browser windows, left window for execution, right window an ijs file; so the "feel" (to me) is much like J6. Kip Murray -- On Dec 31, 2012, at 9:03 AM, Henry Rich <[email protected]> wrote: I still run J6, but recently I have used J7 a bit, and I am impressed. I think I can switch over to J7/GTK now. But then there's this JHS thing. It seems to incompatible with GTK. Is that right? I am trying to find a graphics system to use to replace grid for dissect. GTK seems to be what I want - it will support autoscrolling controls, which is what is needed to display nouns of arbitrary size. But then, what about JHS? Is there going to be a graphics library that is supported across all J7 systems? And, what interface do most people use? Is it GTKIDE most of the time, and JHS occasionally, or the other way around? Are things different on Android and iPhone? In short: what graphics approach should I take to make dissect run on as many J screens as possible? Henry Rich ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
