Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » WindowBuilder » CUSTOM COMPONENT
CUSTOM COMPONENT [message #758437] Wed, 23 November 2011 09:53 Go to next message
Alexandra is currently offline AlexandraFriend
Messages: 1
Registered: November 2011
Junior Member
Hi people,
I am new in programming. I have to make a custom component of jtree with some funcionalities and put it in palette(make an independent and reusable component).Could somebody explain me wich project to chose cos I tried to compile code below in java project but it didnt work,just explain me how to compile properly this code).. I am sooo sorry for asking probablly stpuid question but if u could help me it would be salvation for me...


package com.sqsdqs.client;

import com.google.gwt.user.client.Window;
import com.google.gwt.user.client.ui.Button;
import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.VerticalPanel;

public class mybutton extends Composite{
Button vermeg = new Button("VERMEG");
public mybutton(){
VerticalPanel panel = new VerticalPanel();


panel.add(vermeg);
initWidget(panel);
}




public void setButton(){
Window.alert("jjjjj");
vermeg.setText("bhjbhj");
}

Re: CUSTOM COMPONENT [message #758524 is a reply to message #758437] Wed, 23 November 2011 15:10 Go to previous message
Eric Clayberg is currently offline Eric ClaybergFriend
Messages: 979
Registered: July 2009
Location: Boston, MA
Senior Member
Looks like you are trying to do something with GWT rather than pure Java.
Previous Topic:Disable tool tips in the properties window
Next Topic:XServer oddity
Goto Forum:
  


Current Time: Sat Apr 20 05:37:14 GMT 2024

Powered by FUDForum. Page generated in 0.03436 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top