facebook

Custom Components: -> Nothing happens

  1. MyEclipse Archived
  2.  > 
  3. Matisse/Swing UI Development
Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #289953 Reply

    petmun
    Member

    Hi,

    as I noticed from other posts, other users had the same problem:

    When I try to drag a custom component to my form, nothing happens. As an example I created a custom component which is derived from JTextfield and has no own implementations: in this case nothing happens on dragging it to my form. On the other hand, when I use the “JideLabel” from Jide Software it works! Is there a special condition custom components have to fulfill?? Is it a bug?->When will it be fixed?

    [/list]

    #289968 Reply

    Loyal Water
    Member

    There are not special conditions a custom component has to fulfill. What version of MyEclipse are you working with? Can you go to MyEclipse > Installation Summary > Installation Details and paste the information here for me.

    #290001 Reply

    petmun
    Member

    @support-nipun wrote:

    There are not special conditions a custom component has to fulfill. What version of MyEclipse are you working with? Can you go to MyEclipse > Installation Summary > Installation Details and paste the information here for me.

    Hello Nipun,

    thanks for supporting.

    Here are my “Installtion Details”:

    *** Date:
    Wednesday, October 15, 2008 11:26:07 PM CEST

    ** System properties:
    OS=WindowsXP
    OS version=5.1
    Java version=1.5.0_11

    *** MyEclipse details:
    MyEclipse Enterprise Workbench
    Version: 6.5.1 GA
    Build id: 6.5.1-GA-20080715

    *** Eclipse details:
    MyEclipse Enterprise Workbench

    Version: 6.5.1 GA
    Build id: 6.5.1-GA-20080715

    Eclipse Platform

    Version: 3.3.3.r33x_r20080129-_19UEl7Ezk_gXF1kouft
    Build id: M20080221-1800

    Eclipse RCP

    Version: 3.3.3.r33x_r20080129-8y8eE9UEUWI6qujeED0xT7bc
    Build id: M20080221-1800

    Eclipse Java Development Tools

    Version: 3.3.2.r33x_r20080129-7o7jE7_EDhYDiyVEnjb1pFd7ZGD7
    Build id: M20080221-1800

    Eclipse Plug-in Development Environment

    Version: 3.3.3.r33x_r20080129-7N7M5DQVIA_6oJsEFkEL
    Build id: M20080221-1800

    Eclipse Project SDK

    Version: 3.3.3.r33x_r20080129-7M7J7LB-u3aphGW6o3_VmiVfGXWO
    Build id: M20080221-1800

    Eclipse Graphical Editing Framework

    Version: 3.3.2.v20080129
    Build id: 20080221-1602

    Eclipse startup command=-os
    win32
    -ws
    win32
    -arch
    x86
    -showsplash
    -launcher
    C:\Programme\MyEclipse 6.5\eclipse\eclipse.exe
    -name
    Eclipse
    –launcher.library
    C:\Programme\MyEclipse 6.5\eclipse\plugins\org.eclipse.equinox.launcher.win32.win32.x86_1.0.3.R33x_v20080118\eclipse_1023.dll
    -startup
    C:\Programme\MyEclipse 6.5\eclipse\plugins\org.eclipse.equinox.launcher_1.0.1.R33x_v20080118.jar
    -exitdata
    aec_84
    -clean
    -vm
    C:\Programme\MyEclipse 6.5\jre\bin\javaw.exe

    #290017 Reply

    Loyal Water
    Member

    petmun,
    I was unable to reproduce this issue with the help of the other user who had reported this issue. Ccan you please list the detailed steps that you followed when you ran into this issue.

    #290037 Reply

    petmun
    Member

    Hello nipun,

    I reproduced the behaviour doing the following:

    1) create a new Java-Project -> use jdk1.6.0_07 NOT!!! myEclipse-Standard JDK.

    2) create a class like….public class TestTextField extends JTextField {…..} (not in the default package as I learned;))

    3) add this class as a widget to the “Manage Palette…”

    4) drag it to a newly created form (JPanel).

    On my system, nothing happens when dragging the widget to the form.

    Would be interestet if you can reproduce it.

    Bye,

    Peter

    #290052 Reply

    Loyal Water
    Member

    Peter,
    I was able to reproduce this issue. I’ll file this issue for the dev team. Thank you for reporting this.

    #291828 Reply

    Stuart McGrigor
    Participant

    @support-nipun wrote:

    Peter,
    I was able to reproduce this issue. IAny progress on fixing this issue? It’s a real pain not being able to add custom components to forms using Matisse

    #291858 Reply

    In most cases the problem is in component code that does not fully embrace design-time. If you use ME 7.0 it should now provide information on what is wrong.

    #311747 Reply

    AmarDas
    Member

    Hi, I am having this same problem.

    1. I extend JTextField
    2. Go to Matisse Palette>Manage palette>Add Widget
    3. When I try to drag my custom JTextField into a form, nothing happens

    My custom class has a constructor with no arguments.

    I do not understand support-eugene’s comment about “embrace design-time”. And I am not sure where to find the information that is provided to tell me what is wrong.

    Installation Details:
    *** Date:
    Monday, October 4, 2010 2:50:13 PM AKDT

    ** System properties:
    OS=WindowsXP
    OS version=5.1.0
    Java version=1.6.0_13

    *** MyEclipse details:
    MyEclipse Enterprise Workbench
    Version: 8.6
    Build id: 8.6-20100806

    *** Eclipse details:
    MyEclipse Enterprise Workbench

    Version: 8.6
    Build id: 8.6-20100806

    Eclipse startup command=-os
    win32
    -ws
    win32
    -arch
    x86
    -showsplash
    -launcher
    C:\opt\el\MyEclipse 8.5\myeclipse.exe
    -name
    Myeclipse
    –launcher.library
    C:\opt\el\MyEclipse 8.5\../../../Program Files/Genuitec/Common/plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.0.200.v20090519\eclipse_1206.dll
    -startup
    C:\opt\el\MyEclipse 8.5\../../../Program Files/Genuitec/Common/plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar
    -install
    C:/opt/el/MyEclipse 8.5
    -configuration
    configuration
    -vm
    C:/Program Files/Genuitec/Common/binary/com.sun.java.jdk.win32.x86_1.6.0.013/jre/bin/client/jvm.dll

    Thank you for your help.

Viewing 9 posts - 1 through 9 (of 9 total)
Reply To: Custom Components: -> Nothing happens

You must be logged in to post in the forum log in