JavaFX applet won't work - applet

Is anyone able to run JavaFX applets inside the web page? I am not. I also tried applet here: http://weblogs.java.net/blog/aim/archive/2009/07/bounds_unleashe.html (on the bottom) but it doesn't work for me. Tried on Ubuntu and Windows, on IE and Firefox. All I can see is endlessly spinning Java logo. What can be the problem?

If you look at the comments below that example, sounds like that demo doesn't work for anyone.

Try Using http://docs.oracle.com/javafx/2/deployment/deployment_toolkit.htm
Also this link might be useful which describes the process and check an alternative which is using JavaFX in Swing applications
http://docs.oracle.com/javafx/2/deployment/deploy_swing_apps.htm

Related

Can you run a version of vscode inside the browser without a server?

Is there any way to run a version of VS Code inside a browser without a server? (inside a React or Angular app). Something like an enhanced version of the monaco editor.
Of course that means it will have some missing functionalities.
If not, are there any other options?
Try this https://securingsincity.github.io/react-ace/
its something of the same king what you want
As far as I could find, it is possible to run VSCode in the browser (since we have vscode.dev), but there doesn't seem to be anyway to deploy it yourself yet?
This Github issue is probably what you want, but there isn't any information there (or on the repo) yet.
It does strongly suggest that https://github.com/microsoft/vscode is the version used for vscode.dev, so there might be things to be found there, until official instructions/embedding is possible.
I think it depends on how you treat vscode.
if it is just a editor software, there'll be a lot of .
For you customerization purpose, it sounds something like 'https://github.com/cdr/code-server'
Not sure if it helps, but you can try looking up gitpod.io. It opens up a visual studio code instance on your browser with options of installing extensions as well.
Use the link like gitpod.io/#https://github.com/username/repo-name
You can possibly use Gitpod self-host, https://github.com/gitpod-io/gitpod or https://github.com/gitpod-io/openvscode-server they both have documentation on how to create your own version of VSCode for the web, however, as I've never tried to create one myself, I don't know if it accomplishes your specific use case.

How to change the color of UI elements in eclipse IDE on Linux OS?

I saw the following post located here:
Change background color of UI elements in eclipse IDE
But still unsure of how to do this in Linux. Are there .prefs files that need to be edited? I am on KDE would I still be able to use gtk-chtheme? If yes, how? Or is there an alternative way to get the UI to appear as it is displayed in the link above? Is there a step-by-step process?
I am using eclipse 3.6.2.
Thanks!
You could try install Aptana Studio 3 (as a plugin) and use all the theming features it has.
Check out thispost http://danielsmedegaardbuus.dk/2011-04-16/fixing-console-and-other-colors-in-aptana-studio-3/
It won't be exactly as it appears at the link above, but very close.
Cheers,
Max

How to write a web browser plugin for IE, Firefox and Chrome

I need to write a web browser plugin that supports IE 7+, Firefox 3+, Chrome.
This plugin has to be able to place a DirectX object in a web page.
I have no experience with plugins.
I did some investigating and decided to do it with FireBreath.
I couldn't understand the way to place an image inside the plugin area. Can someone provide example?
How do I place a DirectX object there? Any example?
How do I trigger automatic installation?
Thanks!
Sara
Well, there are two problems you have to solve. Understanding of plugins is really the easier one at this point, since have FireBreath to help you. Gosh, whoever wrote that must have been brilliant! (okay, it was me, so I had to say it)
The first thing to understand is that you don't "place" a "DirectX object" anywhere. You don't "place" an image inside the plugin. Rather, you draw the image to a window just like in any other windows application.
You may want to pull up my answer to another similar question: Directx control in browser plugin
In a normal plugin instance on windows (a "windowed" plugin) you will be given an HWND that you can draw to. You need to set up a DirectX context in that window and draw to it -- either at framerate that your application needs or just when a RefreshEvent comes. If you follow the link about you'll see a link to a post on colonelpanic.net on drawing in windows; that should help you understand better how you get the HWND.
Images are basically the same deal; if you have image data, you can draw it to the HWND using normal windows drawing APIs.
Finally, if you need additional help I highly recommend you pop into the FireBreath IRC chat room. I'm usually around during daylight hours (GMT-0600) on weekdays and there are others who can sometimes help as well.
As of 2021 there is way to make plugins that will work in Chrome, Firefox, Safari, see Web Extension (browser plugin) for Chrome, Firefox, Safari standard reference and tools (2021)

drag and drop environment to start developing in gwt

is there any drag and drop environment to work with GWT widgets.
or any user friendly IDE or plugin on IDE's
i remember using some thing like MyEclips for developing Hibernate was better then working with .xml files.
The Eclipse-based WindowBuilder Pro supports GWT and is now free, courtesy of Google.
I tried GWT Designer, http://code.google.com/webtoolkit/tools/gwtdesigner/index.html, but I think for now I'll stick to code the guis myself by hand.
The main reasons are:
Sometimes, it takes a little while (longer than I can wait) to load the design mode.
Sometimes it breaks after you modify code underneath.
Sometimes, does not do what you expect it to do.
I would suggest you giving it a try and see if it works out for your needs.
In my opinion, the experience using it has been frustrating than encouraging.

Javascript Windows Framework

Sometimes I see web based software that is designed using some slick javascript windows which try to emulate the Windows desktop experience (draggable windows and a start menu).
Are there any free frameworks like this available?
something like ExtJs?. Here are some demos
Desktop like webpage
Feed viewer
I would check out jQuery UI
http://jqueryui.com/demos/dialog/
Maybe you want to have a look at http://qooxdoo.org/demo - I don't have experience with it, but it looks quite capable.