Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7833369
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T12:40:37+00:00 2026-06-02T12:40:37+00:00

I am a newbie to SWT. There are two problems which have taken up

  • 0

I am a newbie to SWT. There are two problems which have taken up 3 days of resarch, trying, looking and searching. It’s a good way to learn about new things, but I’m totally stumped by the following two persistent issues.

Question the first.

public class SWTMN extends ApplicationWindow
{
    public final static Display d = new Display() ;

    public SWTMN()
        {
            super(null);
            Util.getImageRegistry() ;

            addMenuBar();
            addStatusLine();

… and so on. Later on …

'SetStatus("This works fine!") ;  // Works fine!!

I want to change the Font of the messages displayed by the statusline – and cannot find a way to do it.

Question the second.

Using a fresh Eclipse Indigo install (updated), creating a fresh (SWT/JFace- support) project, creating a New SWT ApplicationWindow all seems OK. The new file is available in the editor, and compiles – run produces a new, empty window, as it should.

Pressing the “Design” tab cause a modal progress dialogue to appear, with the message “Parsing…”, which hangs at about 15% in. The editor windows underneath the progress message are replaced with a general message about a WindowsBuilder internal error – the last line of which is always

ClassCastException cannot cast org.eclipse.swt.shell.Shell to org.eclipse.swt.widget.Widget

(Because the “Parsing …” progress bar is Application (buggering) modal, Eclipse is now stuffed, and I have to force a quit. Error message offers buttons to re-parse, switch to code which are tempting, and unusable).

Can you help me get Windowbuilder to start-up?

Many thanks for your help!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T12:40:38+00:00Added an answer on June 2, 2026 at 12:40 pm

    I’m going to ignore the built-in statusline, as being a solution only for those who are willing to have that exact and limited package of functionality.

    It seems odd to me that a GUI-framework so focussed on looking good, would have something so poor as a statusline with a font that does not match the rest of the application.

    Go figure.

    I’m going to use panel as a custom toolbar, positioning it to the bottom of the frame.

    Solution: Found, decided.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Newbie Warning I have a simple but vexing problem trying to disable an NSButton.
Newbie here, I have a struct for a word, which contains a char array
newbie doing Java homework here. I have one class named Album which contains the
Newbie question... So I have two activities, Cherry and Apple, and each one has
I'm an Eclipse newbie and I'm trying to build a mixed AWT/SWT application. Here's
Newbie Q. In my MainViewController, which is the first visible view. I have a
Newbie question. I have a NSMutableArray that holds multiple objects (objects that stores Bezier
Newbie question... The objective: I intend to have an HTML text input field as
Newbie question: There are three types of Asp.Net controls : HTML server controls, Web
Newbie question. I have Django models that look like this: class Video(models.Model): uploaded_by =

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.