Image in Eclipse Visual Editor

I'm using the Eclipse Visual Editor and I want to have an image displayed on my application that the user could interact with (draw points on it). How would I do this?

Hanz0 wrote:
i'm trying to use this layout to create a simple gui.There's nothing simple (in my mind) about using GridBagLayout.
I'm using eclipse visual editor, Personally, I recommend against using such tools as you don't learn how to hand code GUI layouts, and then run into brick walls such as the one you've bumped into.
I can't figure out (and understand if it's possible) to reduce the size of column 1, so that the button in column 2 is just next the textfields.Since you are using a JTabbedPane your total panel size is dictated by more than just the column widths, it is also influenced by the needs of the JPanels or other jcomponents on the other tab pages. I'm not sure of a simple solution. I assume that you've played with the weightx values for your components.
I added the button positioning the mouse at the right border of column 1, but i can't understand why column 1 took so much space, while column 0 just fit the labels inside it.Hard to know without the code. Perhaps the weightx values are different, but who knows.
Any suggestions? ThanksHand code this thing if possible.

Similar Messages

  • How to make jButton invisible but workable in Eclipse Visual Editor

    SOS, to all Programmers, thx for your attention i recently encounter a problem when i do my codings in eclipse visual editor, i can;t seem to make my jButton invisible, i plan to
    insert image then put jButton over them, make them invisible so i can just click the image and go elsewhere (E.g. a pop up box or link), but i try all ways and it can't work, plz spot the solution for me. thanks in advance.

    You can't click an invisible button, so you'll have to put the image on the button (as icon) or add a MouseListener to whatever component you're using to show the image.

  • Eclipse Visual Editor - no "Visual Class"

    I have installed the recent eclipse and eclipse-ve packages. Eclipse says that the Visual Editor is installed. It says the "Visual Editor" is of version 1.4.0 and that the "Visual Editor Property Sheet" is of version 1.5.0.
    As far as I understand, I should now be able to create a new "Visual Class" but this menu option is not appearing. Is there something I'm missing?

    Same issue here.

  • Eclipse - Visual Editor

    I use the eclipse 3.0 and I have installed the visual editor through Help -> Software Updates -> Find and Install...
    So I believe it�s installed correct, but I�d like to know what should I do to start it. I tried to change the perspective, there ins�t the visual editor option though.
    Does anybody know how to do that?
    Thx

    VE is not started as a different perspective but rather, as of Eclipse 3.0.2 I have installed, it will open a new perspective as you add a new "visual class" to your project.
    A problem I experienced during the initial installation is that Eclipse seems not to be able to build its configuration files all at once.
    The online documentation suggests, if you cannot see "Visual Editor" amongst all of the other installed plugin, to delete the following:
    /configuration/org.eclipse.osgi/manifests
    /configuration/org.eclipse.osgi/.bundledata
    /configuration/org.eclipse.osgi/.state
    and restart the program. This will force Eclipse to rebuild its configuration files.
    (Just to be more careful you could move them instead!).
    Hope this will help.
    Bye

  • How to create an eclipse visual editor plugin?

    Hi all,
    I want to know how to create an eclipse plugin that uses a visual editor for creating my xml file.
    Can anyone help me?
    Thanks Pasquy73

    You may get a better response asking in the Eclipse Community [http://www.eclipse.org/community/]

  • Osmosys SDK and Eclipse Visual Editor

    Hello!
    Does someone know if Osmosys SDK 2.0 can use the embedded Visual Editor in Eclipse?
    Thanks in advance
    Alessandro

    I don't think it aims to be the best. It's not even close to working. You can do really simple things, and nothing more. And you can't first write the class by hand, and then switch over to the UI builder, and you aren't allowed to touch the code if you started in the UI builder. (This is how it was about a year ago).
    The free
    Eclipse should be very good at core features but also
    be a platform for plug-ins. If it's too good at
    everything it can't attract commersial initiatives.
    If this has worked there should be a better GUI
    builder for sale than the one you can get for free.
    But I don't know if there is really.I haven't seen any good ones for sale, but I've seen that borland will build the next generation of JBuilder on the Eclipse platform, so I think that they will sell their UI builder as a plugin.
    /Kaj

  • Eclipse Visual Editor-not working-palette no icons, no visual capabilities

    Hello,
    I installed eclipse recently with the intention of using it to lay out java components in my applications. I have installed GEF, EMF and the visual editor with the exception of the WEP parts, as eclipse said they had invalid licences. I have the problems mentioned in the title and eclipse does not bring up an option to install the WEP components of the visual editor any more. Does anyone know anything about how this could be fixed? Thanks in advance,
    Paddy.

    I don't think it aims to be the best. It's not even close to working. You can do really simple things, and nothing more. And you can't first write the class by hand, and then switch over to the UI builder, and you aren't allowed to touch the code if you started in the UI builder. (This is how it was about a year ago).
    The free
    Eclipse should be very good at core features but also
    be a platform for plug-ins. If it's too good at
    everything it can't attract commersial initiatives.
    If this has worked there should be a better GUI
    builder for sale than the one you can get for free.
    But I don't know if there is really.I haven't seen any good ones for sale, but I've seen that borland will build the next generation of JBuilder on the Eclipse platform, so I think that they will sell their UI builder as a plugin.
    /Kaj

  • Eclipse Visual Editor bug

    Hi everyone,
      I'm not sure if it's the right place to ask about eclipse problems, but since it should work on others linux distribution I'm assuming it's a Arch specific bug.
    So the story goes like this. I've installed Eclipse 3.2.1 an wanted to have Visual Editor in it. So I went throu the whole installation procedure ( Help -> Software Upgrades -> Find and Install -> Search for new features to install -> new remote server (http://update.eclipse.org/updates/3.0/site.xml) -> Visual Editor SDK 1.1.0.1 && EMF SDK 2.1.2 && GEF 3.1.1 SDK). And when I restarted eclipse there should have been New -> Create a new Java Class using the Visual Editor. But there is no such thing! I can make EMF projects, but there's none Visual Editor.
    Where I've made a mistake in an installation process? I'll be glad for a backup. Thanks in advance!

    Please download eclipse 3.2 with Callisto. if you are running eclipse without Callisto trust me its a pain to download the visual editor. i have tried it. Google for eclipse Callisto and then download eclipse which comes with Calisto and then download visual editor.
    Everything should be fine then.

  • Eclipse visual editor does not work.

    If I try to create a new visual class two error messages pop up:
    "IWAV0138E Remote VM terminated too soon. See .log file for trace of output."
    "An internal error occurred during: "Create Remote VM for Visual Editor for Java".
    IWAV0171E Could not create a socket connection to remote vm. This is often due to your firewall blocking access from your java to do local access."
    Here is the full error log: http://pastebin.com/m4c700db3
    I have no firewall enabled:
    core@c-laptop:~$ sudo iptables -L
    Chain INPUT (policy ACCEPT)
    target prot opt source destination
    Chain FORWARD (policy ACCEPT)
    target prot opt source destination
    Chain OUTPUT (policy ACCEPT)
    target prot opt source destination
    I've read that it could possibly happen due to incorrect /etc/hosts file. Here is mine:
    core@c-laptop:~$ cat /etc/hosts
    # /etc/hosts: static lookup table for host names
    127.0.0.1 c-laptop localhost
    #<ip-address> <hostname.domain.org> <hostname>
    192.168.1.102 n810 n810
    192.168.1.101 serv serv
    # End of file
    Any ideas?

    I'm guessing 'c-laptop' is the name of your machine? My line looks different in /etc/hosts, I just added my name to the end and left the original domain:
    rob ~ $ cat /etc/hosts
    # /etc/hosts: static lookup table for host names
    #<ip-address> <hostname.domain.org> <hostname>
    127.0.0.1 localhost.localdomain localhost rob-thinkpad
    # End of file

  • How to install and working Eclipse Visual Editor

    How to install and working Eclipse Visual Editor

    GEF (graphical editing framework.)
    download and install the plug-in. it should help.

  • Can't install Eclipse Visual Editor

    I'm trying to install Eclipse VE 1.0M1, but I cannot download GEF Build I20040330, which is a prerequisit for VE1.0M1. Does a mirror exist for this file? Or is another version of GEF an ok substitute?

    Are you using eclipse 3.0 or 2.1? If you are using 3.0, just get GEF version 3.0. Works a treat.
    Graeme

  • Eclipse and Visual Editor

    Hi all,
    I've looked for an eclipse forum, but this is the best I could find.
    I'm trying to get the eclipse visual editor plugin to work. I see it in Help -> Software Update -> Manage Configuration as "Visual Editor 1.1.0.1". However, when I right click on a package or project, there's no "Visual Class" in the "New" menu. I can't figure out why. Any ideas?
    Thanks.
    -Andrew Roth

    is the plugin properly installed ?
    there are 2 ways to check that
    1. Go to menu - Help\About Eclipse SDK. In the small dialog window that opens, one button will have "plugin". Upon clicking on it, you get a list of all the installed plugins.
    2. Go to the menu- Window\Preferences. The left pane will give info of additional features like the plugins
    Also, ensure that after installing the plugin, you start eclipse from command prompt using the following: Eclipse -clean
    hope that helps
    regards,

  • Using visual editor with a modified component...

    Hi,
    I'm creating an MDI application with eclipse.
    I'm using Visual editor plugin;
    Now I've two visual class like this:
    public class CommonFrame extends JInternalFrame {
      public CommonFrame(){
        super();
    public class specificFrame extends CommonFrame {
      public specificFrame(){
        super();
    }Now when I open specificFrame class in eclipse, Visual editor try to load GUI interface, but it fails to do this and show me this error:
    java.lang.NoSuchMethodException(gui.CommonFrame.<init>())
    I grant the code works fine;
    the only problem is I must modify GUI class manually or
    I must change the code "extend CommonFrame" into "extend JInternalFrame", then graphically modify the class, and then re-change the code.
    Is there a way to resolve the above error?
    Thank you in advance.
    MargNat

    My class has a no-args constructor, that is:
    public specificFrame(/* no args */)
    According to this error message:
    java.lang.NoSuchMethodException(gui.CommonFrame.<init>())gui.CommonFrame doesn't.

  • Jdeveloper visual editor do not show images and other component shapes

    I used jdeveloper(10.1.3.3.0) to create an ADF BC application, I create a jsf jsp file and drag and drop components from ADF Faces Core to this file visual editor, but jdeveloper visual editor do not show images and other component shapes.
    Could you tell me how I can fix this problem?
    Thanks,
    Mike

    Actually, I need to make a dummy change to the jsp file and then it will display boxes representing the objects in the visual editor whereas I get an exception in the log:
    javax.servlet.jsp.JspException: Cannot find FacesContext
    This does not talk much to me !
    Thanks

  • JSF Visual Editor - Eclipse plugin

    Hi!,
    I worked with netBeans 5.5 + visual web pack and I liked the JSF visual editor, but I'm forced to use Eclipse in my company, so I need a JSF Visual Editor plugin for Eclipse, I tested a pair of them with bad results.
    Can you help me?
    Thanks

    I use the Exadel plugin.

Maybe you are looking for

  • Issue with column Total in a table

    Hi All, I am facing a strange issue with the column total value in an advanced table. I have enabled Total for a number column in the table, and added a total item in the footer section. This is working fine for the small numbers (10 digits) . But fo

  • N8 hdmi out problem

    Hello, i come here with a problem with my Nokia N8. The hdmi tv-out playback isn't working smoothly, I attached a video so you can see my problem. I hope you can help me solve this problem. http://youtu.be/VtbN5Aaa1Ls Also I am looking for an app tha

  • WebServices in GRC v10.0

    Hi all, I have three questions to WebServices regarding SAP GRC v10.0: 1. Is it possible with v10 to check permissions via WebServices (SAPGRC_AC_IDM_*) only with the RAR component? In v5.3 it was only possible, if CUP was installed too. 2. Contain t

  • Internal Microphone on G50 stopped working. HELP! Thanks kindly. :)

    my internal mic stopped working on the g50. the receiving side hears noises of the mic, but they can't hear my voice. I can hear them, but they can't hear me...just the buzzing of the mic. How do I fix this? Or is it a repair issue. 

  • Kernel panic when waking from sleep

    My eMac (1Ghz, 256 Mb RAM, dual boot OS 9.2.2/OS X 10.2.8(upgraded from 10.2.4)) has a recurring but intermittent issue where it suffers from a kernel panic when waking from sleep. In the past I managed to fix the issue by resetting PRAM and NVRAM, b