Gui genearte in java
Hello,
in java, is there any gui tool where i can generate my form(just like vb).I heared jbuilder or jveiu, what is this.if yes then where i can download.now i m build form by coding,if i got any gui tool its very useful to me.
thank
sandy
http://www.borland.com - they offer JBuilder as a free download for non-commercial use
Similar Messages
-
GUI overlaping shapes - Java problem
Hello!
I've recently started learning about building GUI's in java, most things have gone well, however there's one thing I havn't managed to solve on my own.
If you execute the program below (which at the moment is nothing but an empty GUI layout), you'll see a green box that shows for about 0,2 seconds before it's overlaped by the rest of the GUI. What I'm trying do is to place the green box in (or above) the yellow label and since I can't figure out how to do it, I'd be more than happy with a helping hand or two.
Thanks in advance!
import java.awt.*;
public class displayapp{
public static void main(String[] args){
GUI layout = new GUI();
layout.show();
class GUI extends Frame{
public GUI(){
this.setSize(250,500);
this.setVisible(true);
//Delete the next four (4) rows if you wish to see the green rectangle I would like to have placed above/inside of the yellow label.
setLayout(new GridLayout(2,1));
setBackground(Color.black);
add(new Display());
add(new Text());
public void paint(Graphics g){
g.setColor(Color.green);
g.fillRect(40,100,170,170);
super.paint(g);
class Display extends Panel{
public Display(){
GridBagLayout dlayout = new GridBagLayout();
setLayout(dlayout);
GridBagConstraints constraints1 = new GridBagConstraints();
constraints1.anchor = GridBagConstraints.NORTH;
constraints1.fill = GridBagConstraints.BOTH;
constraints1.weighty = 250;
resize(250, 250);
Label d1 = new Label();
d1.setBackground(Color.blue);
add(d1);
constraints1.weightx = 15;
dlayout.setConstraints(d1, constraints1);
Label d2 = new Label("<the rectangle>");
d2.setBackground(Color.yellow);
add(d2);
constraints1.weightx = 220;
dlayout.setConstraints(d2, constraints1);
Label d3 = new Label();
d3.setBackground(Color.blue);
add(d3);
constraints1.weightx = 15;
dlayout.setConstraints(d3, constraints1);
class Text extends Panel{
public Text(){
GridBagLayout tlayout = new GridBagLayout();
setLayout(tlayout);
GridBagConstraints constraints2 = new GridBagConstraints();
constraints2.anchor = GridBagConstraints.NORTH;
constraints2.fill = GridBagConstraints.BOTH;
constraints2.weighty = 250;
resize(250, 250);
Label t1 = new Label();
t1.setBackground(Color.orange);
add(t1);
constraints2.weightx = 125;
tlayout.setConstraints(t1, constraints2);
Label t2 = new Label();
t2.setBackground(Color.red);
add(t2);
constraints2.weightx = 125;
tlayout.setConstraints(t2, constraints2);
}Ok...
Here's an update of the code. I thought the problem might be solved by replacing the graphics in the paint method with graphics2D shapes and use the AWTPermission ("readDisplayPixels") to lock the oval. Unfortunately it didn't, so if you think you might have a clue, don't hesitate to post it. (:
Note:
As you might notice, I've replaced the box (seen in the last example) with an ellipse. I thought it would be easier to work with ovals instead of rectrangles, but obviously it isn't...
import java.awt.*;
import java.awt.geom.*;
import javax.swing.*;
public class displayapp{
public static void main(String[] args){
GUI layout = new GUI();
layout.show();
class GUI extends Frame{
public GUI(){
this.setSize(250,500);
this.setVisible(true);
//Delete the four(4) following rows if you wish to see the green rectangle I'd like to have placed above/inside of the yellow label.
setLayout(new GridLayout(2,1));
setBackground(Color.black);
add(new Display());
add(new Text());
public void paint(Graphics g){
super.paint(g);
Graphics2D g2d = (Graphics2D)g;
Ellipse2D.Double circle = new Ellipse2D.Double(50, 50, 110, 110);
g2d.setColor(Color.green);
g2d.fill(circle);
SecurityManager sm = System.getSecurityManager ();
sm.checkPermission (new AWTPermission ("readDisplayPixels"));
class Display extends Panel{
public Display(){
GridBagLayout dlayout = new GridBagLayout();
setLayout(dlayout);
GridBagConstraints constraints1 = new GridBagConstraints();
constraints1.anchor = GridBagConstraints.NORTH;
constraints1.fill = GridBagConstraints.BOTH;
constraints1.weighty = 250;
resize(250, 250);
Label d1 = new Label();
d1.setBackground(Color.blue);
add(d1);
constraints1.weightx = 15;
dlayout.setConstraints(d1, constraints1);
Label d2 = new Label("<the rectangle>");
d2.setBackground(Color.yellow);
add(d2);
constraints1.weightx = 220;
dlayout.setConstraints(d2, constraints1);
Label d3 = new Label();
d3.setBackground(Color.blue);
add(d3);
constraints1.weightx = 15;
dlayout.setConstraints(d3, constraints1);
class Text extends Panel{
public Text(){
GridBagLayout tlayout = new GridBagLayout();
setLayout(tlayout);
GridBagConstraints constraints2 = new GridBagConstraints();
constraints2.anchor = GridBagConstraints.NORTH;
constraints2.fill = GridBagConstraints.BOTH;
constraints2.weighty = 250;
resize(250, 250);
Label t1 = new Label();
t1.setBackground(Color.orange);
add(t1);
constraints2.weightx = 125;
tlayout.setConstraints(t1, constraints2);
Label t2 = new Label();
t2.setBackground(Color.red);
add(t2);
constraints2.weightx = 125;
tlayout.setConstraints(t2, constraints2);
} -
Tools for GUI development in Java
hi,
Can anybody tell me which r the tools available for GUI development using java?which could be the bestTake care not to produce much source code! Use a suitable framework rather than a tool and save maintainability. E.g. http://www.must.de/cameleon.html
-
Any gui interface for java db (derby ) such as oracle give sqldeveloper
hi master
sir any gui interface for java db (derby ) such as oracle give sqldeveloper that create table and view only mouse clicking
how i get derby gui interface
thank'
aamirtry db visualizer
http://www.minq.se/products/dbvis/ -
GUI toolkit for Java ME/ CDC devices
I have written in my blog about:
GUI toolkit for Java ME/ CDC devices: http://ovenordstrom.blogspot.com/2006/08/gui-toolkit-for-java-me-cdc-devices.html
and
ERCP - Embedded Rich Client Platform, soon with the first release of eRCP:
http://ovenordstrom.blogspot.com/2006/08/ercp-embedded-rich-client-platform.html
That perhaps is interesting for Java ME/PP developers
Regards,
OveHi there!
I guess you should take a look at GTK+/Gnome development today.
Cheers,
Inge-Lars -
In need of help going from Windows SAP GUI to Mac/Java SAP GUI 7.20
Hi Everyone, first post...I want to thank you in advance for any assistance you are able to provide.
I got everything working except for 1 out of 6 servers I need to connect to - of course this is the most important one.
It all comes down to the conversion of saplogon.ini to the new file format, instead of using the GUI to make a list I have created 6 individual .sapc files that I run directly. I found some converters but only had so much success with them, nothing solid and 100% full proof.
I'm going to post my windows config files and maybe you can tell me why logging into this system GP8 doesn't work from my mac?
saplogon.ini (I believe it's item 4 that is the full config for the server I'm trying to connect to)
[Configuration]
SessManNewKey=80
MessageServerTimeout=10
WithWizard=0
ConfirmDelete=1
NoEditFunctionality=0
SapguiHexdumpActivated=0
SapguiTraceActivated=0
SapguiTraceLevel=1
SapguiNTCmdOpts=
[Router]
Item1=
Item2=
Item3=
Item4=
Item5=/H/10.201.200.27/saprouter.fa.de/H/
Item6=
[Router2]
Item1=
Item2=
Item3=
Item4=
Item5=
Item6=
[RouterChoice]
Item1=0
Item2=0
Item3=0
Item4=0
Item5=0
Item6=0
[Server]
Item1=171.18.85.21
Item2=171.18.85.26
Item3=GI7001.trans.de
Item4=PUBLIC
Item5=gtlson10.fa.biz
Item6=gtlson19.fa.biz
[Database]
Item1=00
Item2=01
Item3=34
Item4=88
Item5=26
Item6=21
[System]
Item1=3
Item2=3
Item3=3
Item4=3
Item5=3
Item6=3
[Description]
Item1=ASNA PRD
Item2=ASNA TST
Item3=GI7
Item4=GP8
Item5=JPF
Item6=JPW
[Address]
Item1=
Item2=
Item3=
Item4=141.228.205.97
Item5=
Item6=
[MSSysName]
Item1=PRD
Item2=TST
Item3=GI7
Item4=GP8
Item5=JPF
Item6=JPW
[MSSrvName]
Item1=
Item2=
Item3=
Item4=gp8001.trans.de
Item5=
Item6=
[MSSrvPort]
Item1=
Item2=
Item3=
Item4=sapmsGP8
Item5=
Item6=
[SessManKey]
Item1=-1
Item2=-1
Item3=-1
Item4=-1
Item5=-1
Item6=-1
[SncName]
Item1=
Item2=
Item3=
Item4=
Item5=
Item6=
[SncChoice]
Item1=-1
Item2=-1
Item3=-1
Item4=-1
Item5=-1
Item6=-1
[Codepage]
Item1=1100
Item2=1100
Item3=1100
Item4=1100
Item5=1100
Item6=1100
[CodepageIndex]
Item1=-1
Item2=-1
Item3=-1
Item4=-1
Item5=-1
Item6=-1
[Origin]
Item1=USEREDIT
Item2=USEREDIT
Item3=USEREDIT
Item4=MS_SEL_GROUPS
Item5=USEREDIT
Item6=USEREDIT
[LowSpeedConnection]
Item1=0
Item2=0
Item3=0
Item4=0
Item5=0
Item6=0
[MSWinPos]
NormX=324
NormY=263
[MSLast]
MSLast=GP8
[Utf8Off]
Item1=0
Item2=0
Item3=0
Item4=0
Item5=0
Item6=0
[EntryKey]
Item1=
Item2=
Item3=
Item4=
Item5=
Item6=
[EncodingID]
Item1=DEFAULT_NON_UC
Item2=DEFAULT_NON_UC
Item3=DEFAULT_NON_UC
Item4=DEFAULT_NON_UC
Item5=DEFAULT_NON_UC
Item6=DEFAULT_NON_UC
[ShortcutType]
Item1=0
Item2=0
Item3=0
Item4=0
Item5=0
Item6=0
[ShortcutString]
Item1=
Item2=
Item3=
Item4=
Item5=
Item6=
[ShortcutTo]
Item1=
Item2=
Item3=
Item4=
Item5=
Item6=
[ShortcutBy]
Item1=
Item2=
Item3=
Item4=
Item5=
Item6=
Another file I think is important: sapmsg.ini
[Message Server]
MSS=MSSAP00
MST=SAPTST00
MS1=SAPDEV00
MSX=sapsbx99
MSU=sapmsu99
APP=apoapp00
MBW=mssapbw
APT=apotst00
APS=aposbx00
MB1=sapdevbw
MBT=saptstbw
P01=dryrun00
MS2=sapms299
MBX=sapsbxbw
GP8=gp8001.trans.de
Another file that may be important?
SAPROUTE.ini
[Router]
sapprd=/H/10.201.200.21/H/saprouter.fa.com/H/
gtlson10.fa.biz=/H/10.200.201.21/H/saprouter.fa.com/H/saprouter.fa.de/H/
This is what my *.sapc file looks like after changing it up a few times, I am certain it is wrong:
conn=/H/gp8001.trans.de/&clnt=401&expert=true
Please tell me from all the info you have here what needs to take place for me to be able to connect to GP8. Can I do it from an sapc file? Do I have to configure other core files and go to my preferences and tell SAP to look at certain configs? I'm sure someone here can help me.
Thanks so much for your time
John
Edited by: nstabl on Feb 27, 2012 10:07 PMHello John,
please try the "SAP GUI for Java Configuration Generator Scripts" available at http://scn.sap.com/docs/DOC-25456#section9 .
For using the message server to connect to GP8, the information of the port number of the message server for GP8 is missing. For direct connection to GP8, it might work to use the connection string "conn=/H/gp8001.trans.de/S/3288" .
Best regards
Rolf-Martin
Message was edited by: Rolf-Martin Woersinger
update link, which was broken after SCN upgrade -
Error creating GUI for dmardemo.java
Hi friends!
I took the demo dmardemo.java (Association Rules) which comes with the ODM for Java to test Data Mining function in the sample database Sales History. In the original code, the application ran normally. However, I'm trying to create a GUI to execute the most important funcionalities like creating view, preparing and building model and restoring rules and itemsets. I created a visual class in the same project where the demo is. I've done some changes in the methods, like putting some input parameters for them. e.g.:
[i]public static void buildModel(String viewModelo, String configTask, String modelName, String taskName) throws JDMException
Connecting is ok. However I can not create the view.. When I execute this method for creating the view, some erros occurs, like:
Create build data view...
java.sql.SQLException: Closed Connection
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:146)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:208)
at oracle.jdbc.driver.PhysicalConnection.prepareStatement(PhysicalConnection.java:840)
at oracle.jdbc.driver.PhysicalConnection.prepareStatement(PhysicalConnection.java:759)
at project1.dmardemo.createBuildData(dmardemo.java:277)
at project1.Principal.jMenuItem1ActionPerformed(Principal.java:181)
at project1.Principal$7.actionPerformed(Principal.java:110)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
at javax.swing.AbstractButton.doClick(AbstractButton.java:357)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1170)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1211)
at java.awt.Component.processMouseEvent(Component.java:6038)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3260)
at java.awt.Component.processEvent(Component.java:5803)
at java.awt.Container.processEvent(Container.java:2058)
at java.awt.Component.dispatchEventImpl(Component.java:4410)
at java.awt.Container.dispatchEventImpl(Container.java:2116)
at java.awt.Component.dispatchEvent(Component.java:4240)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
at java.awt.Container.dispatchEventImpl(Container.java:2102)
at java.awt.Window.dispatchEventImpl(Window.java:2429)
at java.awt.Component.dispatchEvent(Component.java:4240)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
What could be happening?
Thanks!!
Regards
LuisI have to tell you that the problem was occurring because of the clean() method. It must clean all views created before, and I was ignoring its execution. Now, another thing is happening: every time I made a call for it, an exception occurs, telling me that I must pass an input parameter for this method, and a null value for the objectName is not allowed.
However, this method doesn't work with any parameters.
What could be happening?
Thanks a lot!
Luis -
GUI Hangs with JAVA sneak preview
Hello all,
I have SAP NetWeaver 2004s Java Trial Version
SP09 successfully installed on my WINXP machine.
Everything is good exept GUI. I cannot be able to use any GUI neither SAP GUI nor JAVA GUI (700). In both cases it hangs without any errors when I try to logon.
J2EE engine is working properly - portal, VC and so on...
May be I have to do something else? Please help me with it.
Regards,
Maxthere is sneak preview ABAP engine available whichyou can download and use it forBW and integrated planning.
https://www.sdn.sap.com/irj/sdn/downloaditem?rid=/webcontent/uuid/b2918eea-0601-0010-6284-e6cb7eee4399 [original link is broken]
Regards
Raja -
I was wondering how I would have to go about writing an event handling mechanism on something that is not GUI-based (non-AWT/SWING)!
Supposing one wanted to write an event listener that would tell them when a data structure is updated - e.g: in a typical producer-consumer model, where the consumer is to be notified of fresh entries whenever a producer writes integers to some data structure...
Does Java have classes/methods to handle such non-GUI-based 'events'? Is this a commonly found scenario in Java programming?
Thank you!What you're looking for is the Observer-interface. Check out http://java.sun.com/j2se/1.4/docs/api/java/util/Observer.html
and
http://java.sun.com/j2se/1.4/docs/api/java/util/Observable.html -
I would like to develope a GUI-Builder with Java. Any idea
Hi!
I would like to support GUI-Developers by writing a GUI-Builder with integrated design rules. For example selecting Platform dependent widgets, controlling the number of widgets on the form, proper positioning of widgets on the form etc.This should be a standalone application.
Any one with tips, tricks, literature for architecture, tools to use etc?
Thanks a million times.
MarcBefore start i would like you to visit www.netbeans.org
Here you can find a very powerful IDE for Java as you are willing to create. If you like to procide creating then also you can find idea about that. -
Embedding/Wrapping a Native GUI App in Java?
Hi, we have loads of C++ GUI applications... I'd like to be able to embed/wrap some of them inside our swing app's. I believe this is possible, but don't actually know the terminology to get started with this.
--Cheers :)This is going to be tricky, but as a starting point you might want to check out Java AWT native interface.
http://java.sun.com/j2se/1.5.0/docs/guide/awt/1.3/AWT_Native_Interface.html -
Webinar (Aug 11): How to create Cross-Platform Automated GUI Tests for Java Apps
Join Squish expert, Amanda Burma, and learn how to create cross-platform automated GUI tests for your Java applications!
Register here (multiple time slots)
August 11th 2014
Duration: 30 minutes plus Q & A
This webinar will cover:
General Squish for Java overview
Automating BDD Scenarios
Executing Cross-Platform Automated GUI Tests
Interacting with Java application objects, properties & API
See you there!
Unable to attend? Register and we'll send links to future events and access to our webinar archive following the event.
Webinar schedule
Learn more about Squish
Evaluate froglogic squish<property name="messaging.client.jar.path" value="Location in your local drive" />
<property name="messaging.client.jar.name" value="nameOfYourFile.jar" /> -
Viewing reports in Access from GUI' s in Java
hi i have reports created in microsoft Access and want to know how i can view these from my GUIs. the GUIs are connected to the database through JDBC and i want to be able to click on a button on a Gui and view the report. Can any help me. i have tried looking for code but with no success.
hi i have reports created in microsoft Access and
want to know how i can view these from my GUIs. the
GUIs are connected to the database through JDBC and i
want to be able to click on a button on a Gui and
view the report. Can any help me. i have tried
looking for code but with no success.I don't think this is possible. JDBC will not find the reports in Access.
xH4x0r -
I want the gui of the java be like windows
hi
i have already frame i made it by drag and drop and when i make design preview , it's be like windows in the shape of the buttons , frames and tool bar
but when i make run to the code .it appear by default view .. how when i make run .. the gui be like the windowsi want more help .. ...please indicate spoon size
-
hello friends,
i am new to SUN fortran compiler. i have installed it. But what i have heard it has a gui interface to write fortran code and debug it. But i cant find it. is my installation incomplete or i am missing something? Command line compilation is working fine.There should be a sunstudio command. That will start the IDE (integrated development environment), which has an editor, debugger, and performance analysis tools.
Maybe you are looking for
-
Data not storing in Custom infotype build with tab strips
Hi All, I have created one custom infotype 9030, With screen 2000. which is having tab strips, I have build the screens refering to p9030-zztest its not storing in database. where I am doing wrong...please let me know what should be done in this case
-
Display of IPTC description during mouse-over in filmstrip
Windows XP SP3, LR3 When you move your mouse over an image in the film strip, you get a temporary popup showing the IPTC title and description fields from the image. Unless I have missed something, this behavior can not be changed. This can be a prob
-
i cant get my phone to turn back on after an update all it does is shows the itunes thing
-
How to add columns in PPPM transaction
Hi, In PPPM transaction,requirement is to add two columns years & month. i.e.for every qualification we need years & months. By using access key if i add two column in sap standard screen then how will the values get updated in database table. whic
-
Audit report for block/release Vendor Invoices
Dear Experts, I need a report for Internal Control purposes that traces the block / release invoices per Vendor, with the respective reasons, users involved , date, invoices amount. Is there any standard report for it ? Thank you for your help Ki