Hi everyone.
I was thinking about implementing an application in java (with GWT gui) that among its options will be able to play youtube video and audio, or at least only audio. The problem is that I can't seem to find any api or source code that enables it.
What I want is that given a URL for a video in youtube, play it using java.
Any...
Is it possible to use java gui frameworks (such as Swing, SWT or javaFX) without desktop environment, such as Gnome?
...
I'm writing an application that has an SWT GUI currently, but would like the end-users to be able to choose between SWT and Swing. I've experimented with abstracting the GUI details before at different layers in the program, but have never been really satisfied with the results. Is there an agreed-upon or nice way to do this?
...
Hello!
I use SWT for my app and all significance of it, to use system tray. May be some one know how to add mouse listener to the TrayItem (or just handle mouse events)? For example, handle mouse hover event.
Thanks in advance and best regards,
Alex
...
I have a java SWT application that works OK with Windows XP and Windows Vista. But when I run it on Windows 7, weird errors occure, and it crashes.
For example, in a method where I call Table.removeAll() I get a java.lang.ArrayIndexOutOfBoundsException: 0. The table has SWT.VIRTUAL in style.
Another problem is when I write something in...
Windows XP has the limit 10000 user handles for each process and total 32000 for each desktop session. However, when I run 4 or 5 SWT process, each consuming no more than 2000 user handles, the SWT No More handles exception will always be threw.
Does anyone know why?
...
Is there an example out there for using IDecorationContext for label decorations?
By the looks of it, IDecorationContext class seems to provide some sort of contextual decoration support, but for the life of me, I can not find any sample code using this feature...
Has anybody actually used decoration context feature and if so, what use...
SWT comes with a base JAR and one specific JAR per platform (Windows, Linux/32bit, Linux/64bit, Mac, AIX, ...). How can I create an executable JAR that will select the correct platform JAR at runtime?
[EDIT] I was thinking to supply all platform JARs in a subdirectory and in main() would then modify the class loader. Has anyone already ...
http://www.java2s.com/Code/Java/SWT-JFace-Eclipse/DisplayananimatedGIF.htm describes how to display an animated GIF in SWT - in general. While the code works and is easily comprehensible I'm facing serious issues displaying an animated GIF in a SWT/JFace table/tree viewer cell with that technique. -> all code below
Essentially, I implem...
I'm using a SWT DateTime component. It sets the current date as a default selection, when instanciated. How can i prevent this?
I want that no date is selected at all...
Thanks
Patrick
...
I need to write a text editor which can merge arbitrary text styles from several sources (in my case: spell checker, style hints like repeated words, links and other markup) using SWT StyledText. I examined the the standard ways to do it:
I could install a modify listener and create the styles for the whole text for each modification. ...
I've got an SWT shell that's resizable. Every time it is resized, I have to do something computationally intensive. I can register a ControlListener on my shell, but this generates events continuously throughout the resize operation, and I have no idea when a resize drag type mouse operation ends. I'd like to be able to detect when th...
I am new to SWT but have plenty of experience w/ other GUI layout managers.
I have run in two a weird problem when nesting a composite inside of another composite.
http://www.swooby.com/swt/nestedcontrolproblem.png
If I run the audiocontrol as a standalone bean it works fine.
If I run it nested in another composite it starts to act fun...
Hi
I'm using SWT Text component. Do someone know how can I handle copy/paste operation and modify data when copying to the buffer and when copying from the buffer? I don't want just handle Ctrl-C Ctrl-V because there are a lot of other keys to do that thing (Shift-Del/Shift-Insert) and even user can override these keys.
Thanks
...
I want to make SWT use mozilla on all platforms I run my app on. But SWT of course used IE on Windows by default. Any idea how to make SWT use Mozilla on windows. I know that I need to have XULRunner installed on the machine.
...
I have a TreeViewer of custom content. I'd like to be able to reorder it, much in the same was as the Outline View does currently when viewing Java Source.
Is there any reference material or documentation out there on how to achieve this?
Martin.
...
Hi,
I'm having trouble in testing an RCP application with Sleak because it does not display anything, it only shows the message "WARNING: Device is not tracking resource allocation".
I've setup Sleak from this tutorial and I don't know what's wrong.
Does anyone know a solution for this? Thanks in advance.
...
I would like to create horizontal line like this, using SWT:
Of course, without red frame
...
Is there a way to create native status bars in SWT like those found in Windows applications:
I have seen status bars simulated using labels, but I am more interested in a true solution.
...
Is there a way to have a SWT buuton with both image and text in a view? I have tried embedding Swings in SWT and the view looks exactly as I want, but when there is an operation going on, this view doesnot load till it gets over. This makes my perspective look unstable. Please help.
...