Using Eclipse TableViewer, how do I navigate and edit cells with arrow keys?

I am using a TableViewer with a content provider, label provider, a ICellModifier and TextCellEditors for each column. How can I add arrow key navigation and cell editing when the user selects the...

"android update sdk" on headless linux

Has anybody succeeded in updating/installing Android SDK platforms on a headless Linux server? All I got is the following error: It seems like the action "update sdk" is actually not...

SWT Text widget does not show up

I'm trying to have "Hello SWT" show up in the center of a window in SWT, but nothing is showing. Here is my simple code (scala.version=2.9.0-1, swt:3.7.0-win32): package org.jilen.editor import...

Selected text color in the JFace tree

I'm preparing Eclipse editor where one of the tabs is a tree with some values. I'm using colors and font style to give more information for the user. E.g. when the user puts a value which is out...

Application Window in Eclipse with WindowBuilder

I am relatively new in Java programming, I have been using Eclipse with WindowBuilder but I don't get what is the difference between using a JFrame or Application Window in Swing Designer. Can...

SWT - Showing a busy Cursor

I am trying to change the cursor when I start a operation. I want the cursor showing busy until the operation is finished. I have a separate class for the operationListener. I am not sure how to...

Ubuntu: SWT App Can't Load GTK Library

I have supplied the Linux SWT jar and packaged my app in Eclipse to include swt.jar inside my app's jar. When I try to run it on Ubuntu, I get the following error text (posting only...

How to change a filename when uploading with blueimp jQuery-File-Upload?

Here is my problem. I am trying to create a programmatic way (without the customer to input anything) for a customer to fill some web forms. For this, I have created a custom browser (which will...

Android DDMS in Titanium not starting Memory Heap

I am running Titanium Studio (based on Aptana Studio) to develop a Titanium based Android app. When I try to analyze the memory heap in Titanium by opening the "Heap" tab, in the DDMS, I get the...

How to add border to panel of javafx?

I am developing a application where I need some widgets to wrap up inside a panel. And I want to put a border around it. I am a swt programmer where in composite I can pass swt.border to put...

Set the initial directory in SWT FileDialog

I'm working on an Eclipse RCP project and need to let the user select some file. For convenience, based on some conditions, the initial directory of the file choosing dialog should be set prior to...

Eclipse autocomplete not working

The autocomplete of eclipse is not working now and I searched for hours but I couldn't find an answer to solve it. I haven't used it for long time then the first thing after opening it was to...

How to reset Combo when SWT.READ_ONLY

I am using the org.eclipse.swt.widgets.Combo class and I am doing the following Combo myCombo = new Combo(container, SWT.READ_ONLY); myCombo.add("1"); myCombo.add("2"); //later...

Eclipse SWT Hello world tutorial: Display cannot be resolved to a type

I just installed Eclipse Luna v 4.4.2. I was running through the tutorials after installing the Java Developer Tools and Plug-in Development Environment packages. The basic HelloWorld program...

Eclipse PDE: Programmatically detect opened dialog and close it

On Eclipse Luna, I select a server and click the Start button on Servers view, then the server (for example Tomcat8) will get started. If something is wrong during the start-up process, a dialog...

Get size of SWT Label with word wrap

Is there a way to get the exact size computed by a label before laying it out. In other words, let us say there is a label with a really long sentence: Hi how are you doing, my name is bond, I...

Memory leak with FXCanvas

I'm working on Eclipse e4 RCP application where I have one SWT part. Using JavaFX interoperability with SWT I have added javafx.embed.swt.FXCanvas. After I create a javafx.scene.Scene with 50000...

How to set the initial message for SWT Combo

SWT Text has a method called setMessage which can be used with SWT.SEARCH to put an initial faded-out message in the text box. Can something similar be done with SWT Combo? It seems it does not...

How to pass from activeform in Yii2 to PDF

I've created a form and an invoice using mpdf kartik. I want when user inserted to form and stored to database, the data value from its form will be passed values to invoice mpdf kartik. How can I...

restrict the ElementTreeSelectionDialog

I wanna to implement Workspace Browse. I write the below code. ElementTreeSelectionDialog dialog = new ElementTreeSelectionDialog( Display.getDefault().getActiveShell(), ...

Why and when should we use JSON Web Tokens?

I think that jwt.io do not explain very well why or when to use jwt. It explain other things that could be ok to consider but not critical to decide whether or not to use it or why it will be...

Mongo DB , Spring boot : Exception opening socket , Caused by: Connection refused

I am using Spring Boot to connect to MongoDB but it is giving me an exception while trying to connect, the weird thing is that this was working for me before and suddenly it started giving me this...

build-tools folder not found /home/pi/.buildozer/android/platform/android-sdk-20/build-tools

I am making an android app with python - kivy. and using raspbian - raspberry pi 3. trying to use buildozer android debug deploy run but got the error: # Check that aidl can be executed #...

Uiautomatorviewer is giving error "SWT folder '..\lib\location of your Java installation.' does not exist"

I have installed Android studio V 3.1.1 i am trying to launch UIautoamtorviewer.bat file from C:\Users\panmishr\AppData\Local\Android\Sdk\tools\bin however it always gives me error SWT folder...

Eclipse RCP trim status bar composite margins too big to display text

I'm developing a plug-in for a Eclipse RCP application. In this plug-in I want to set a text message and an icon in the trim status bar. Considering my circumstances, I think I can scrap the...

Eclipse WindowBuilder Design Tab is Empty?

I'm new to the WindowBuilder tool of Eclipse (or any frontend dev), and I installed WindowBuilder, SWT to check it out. When creating a new project, I go to: New > Others > WindowBuilder > SWT...

WindowBuilder Design Tab incomplete in Eclipse

I was creating a JFrame for a project and while trying to edit it, the design tab was blank. I've created a test project with everything on default and this "error" still there. Here's the code...

java.lang.UnsatisfiedLinkError: no swt-pi-gtk-2024 or swt-motif-2024 in java.library.path

When running a maven build using the maven surefire plugin I get the following error: java.lang.UnsatisfiedLinkError: Could not load SWT library: no swt-pi4-gtk-4934r6 in java.library.path no...

Java - java.lang.Error: SWT Resource was not properly disposed

I am getting back into using the JAVA programming language. To reintroduce myself, I am writing a simple banking program with unit tests to adjust to the syntax. I am having trouble getting the...

Invoking "Run" button of Eclipse via code

I have created a sample eclipse plugin development with a button. @PostConstruct public void createPartControl(Composite parent) { Button button = new Button(parent, SWT.PUSH); ...