GUI Form Builder (Netbeans)
Hello!
I use the form builder to create and position 100 buttons.
To address these "builder formed" buttons in other code, I created an array .......
ArrayList<JButton> buttons = new ArrayList<JButton>();
The "Form Built" buttons are added to my array named "buttons" by adding this code snip in the "post creation" entry option within the Form Builder's code generation section like this ....
buttons.add(jButton1);
buttons.add(jButton2);
buttons.add(jButton3); //.....etc.
This all works fine, now I can address each of the 100 buttons (ie: change the background color) like this.....
JButton button = AddRFSwitchMain.buttons.get(but);
button.setBackground(new Color(a,b,c));
In reference to adding my "Form Built" buttons to my array, is there a way to add these buttons recursively? ie:
buttons.add(jButton(X)); // X = 1 to 100
This is how I add the "builder generated" buttons into my array now....
buttons.add(jButton1);
buttons.add(jButton2);
buttons.add(jButton3);
buttons.add(jButton4);
buttons.add(jButton5);
buttons.add(jButton6);
buttons.add(jButton7);
buttons.add(jButton8);
buttons.add(jButton9);
buttons.add(jButton10);
buttons.add(jButton11);
etc.....
buttons.add(all the way out to button 100);
Can the same thing be done recursivily like this:
for ( int but=0; but<101; but++ ) {
buttons.add(jButton(but));
Similar Messages
-
How to develop GUI/Form builder tool...?
Hi,
I am newbie to SWINGS. i've been a middle tier and backend developer in java.
In one of my project i need to develop one GUI builder tool.
Basically it contains menubar, palette to contain few components such as rectangle, table etc, and a space where we can design a gui by
selecting the components from the palette.
How can i start with this...?
plz hlp me out....
Thanks & Regards,
Chandrakanthhi
as you see i have post the same topic so if you know any
information how to do such thing please inform me -
I am constructing a form using Netbeans IDE JFrame form.
When I try to test the form, the frame is a very small size, with only the close/maximise/minimise buttons showing.
When this from is adjusted in size, the main components appear.
This same thing happens when I compile and execute the main code of this form, apart from the fact that no components appear when I adjust the size of the frame.
Whats is wrong?
ThanksTry using setSize(300, 300); (or some other sensible value)
Alternatively, add components to the form and call pack();
Blake
[email protected] -
Can not open PLLs on Forms Builder 10g
Hi Folks,
everytime I try to open an existing PLL-File via the Forms Builder FileOpen-Dialog I have got the message
PDE-PLI018 Couln not find library
Drive:\Path\LibName.pll
Pressing the OK-Button returns to the FileOpen-Dialog. The selected FileType in the Dialog take effect to the filelist but nothing else.
Note that the file exists and I select it from the Filelist!
About Forms Window shows the following:
Forms [32 Bit] Version 10.1.2.0.2 (Production)
Oracle Toolkit Version 10.1.2.0.2 (Production)
PL/SQL Version 10.1.0.4.2 (Production)
Oracle Procedure Builder V10.1.2.0.2 - Production
PL/SQL Editor (c) WinMain Software (www.winmain.com), v1.0 (Production)
Oracle Query Builder 10.1.2.0.2 - Production
Oracle Virtual Graphics System Version 10.1.2.0.2 (Production)
Oracle Tools GUI Utilities Version 10.1.2.0.2 (Production)
Oracle Multimedia Version 10.1.2.0.2 (Production)
Oracle Tools Integration Version 10.1.2.0.2 (Production)
Oracle Tools Common Area Version 10.1.2.0.2
Oracle CORE 10.1.0.4.0 Production
While converting from 6i to 10g it is unavoidable to convert forms and libraries, so please help me!
PS: I can recompile forms with attached libraries if the PLX-Files (6i) are available, but the forms will not work with these PLX-Files.
edited by ths:
I tried to generate a new library. This works fine until I saved it. After naming the library and pressing the save button in the dialog the pll file was created and the same error message appears.
I closed form builder and tried to reopen the library: same error.
I generated another new library and save this by selecting the first new I generated. Jippee! I get the message that the file already exists! I selected "overwrite" and the file was overwritten. After that the same error appears.
How can I (re)open PLL files? It is no solution to generate a new library overwriting the old one everytime some changes should made.
Trying to build the library (Ctrl+T) produces another error:
FRM-91507: Internal Error: Unable to generate library.
Compiling (Ctrl-Shift-K) works fine.Hi Mark,
there's no user except of me on the pc and server (I'm working via rdp-client on a virtual server), no server and no oc4j task or instance started. The one and only program that runs is forms builder. The error occurs if I just try to open a pll file via the file open dialog of forms builder.
With my admins we found that forms builder creates a (temporary) file (e.g. s22o without extension with 827392 bytes) in c:\ but only if I'm the actual user. After I'm getting the permission to create and update files on c:\ forms builder was able to open pll files. Now we're trying to find out why this accurs only on my login. With other users we tried these file was created on F:\ which is the personal drive of the user. I'm only wondering about the fact that temporary files were not created in the TEMP folder defined by the TMP or TEMP environment variable.
So we solved this unusual problem in an unusual way. -
System takes long time to Save/Activate using SFP Form Builder
We are planning to customize the Travel Expense PDF Form PTRV_EXPENSE_FORM in ECC 6.0 using transaction SFP FORM BUILDER (ABAP Workbench). As the initial step we copied it into Z form and started the changes. Here is the problem: Even for a small change on the Layout, system is taking long time to complete the process.
For example:
For Saving the changes: 6 to 7 minutes
For Activating the changes: 12 to 13 minutes.
On the server side :
we are on ECC 6.0, SAP NW04s SP 9 for EA-HR
ADOBE LiveCycle Designer 7.1 (Patch 3 applied).
On client machine :
we have SAP GUI 640 Patch Level 21,
ADOBE Reader 7.0.9.
Client machine has 1 GB RAM & 40 GB Hard Drive.
Thanks in Advance for the quick reply.Same problem for us
-
Forms builder crashes when opening any pll
Hi,
I have gotten this problem that my forms builder crashes immediately when I try to open any pll file. (There is nothing wrong with the pll file - my colleagues can open these files with no problems on their computers). It crashes before the pll file is even remotely loaded - almost as if it encounters an error during the parsing of the pll file.
I have no problem opening and editing fmb files in my forms builder.
This problem has not always existed but it came all of a sudden one day and since its been impossible for me to open a pll file and its getting annoying :P
I run:
- Windows XP SP3
- Forms builder version info :
Forms [32 Bit] Version 6.0.8.26.0 (Production)
Oracle9i Enterprise Edition Release 9.2.0.7.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.7.0 - Production
Oracle Toolkit Version 6.0.8.25.0 (Production)
PL/SQL Version 8.0.6.3.0 (Production)
Oracle Procedure Builder V6.0.8.21.0 Build #1459 - Production
PL/SQL Editor (c) WinMain Software (www.winmain.com), v1.0 (Production)
Oracle Query Builder 6.0.7.1.0 - Production
Oracle Virtual Graphics System Version 6.0.5.38.0 (Production)
Oracle Tools GUI Utilities Version 6.0.8.25.0 (Production)
Oracle Multimedia Version 6.0.8.25.0 (Production)
Oracle Tools Integration Version 6.0.8.18.0 (Production)
Oracle Tools Common Area Version 6.0.8.18.0
Oracle CORE Version 4.0.6.0.0 - Production
I tried deleting everything under D:\ORA6i where its installed and then reinstalling it - but the problem is still there.
Does anyone have an idea about what could be wrong - because I am clueless atm. - could it be some registry settings that somehow got changed maybe ?
Edited by: [email protected] on Sep 3, 2008 5:06 AMI have encountered various issues like this with Forms 6i over time and have tried numerous things to fix them - including complete uninstall of all Oracle products and reinstalls and the one thing I found to work best was to run a Registry Cleanup tool. I had the best success with Microsoft's RegClean.exe tool (originally released as a PowerTool), but it is getting harder to find now that Microsoft has desupported it and pulled it from their web site. There are a few places where you can still get it; www.cnet.com, www.zdnet.com, and www.majorgeeks.com just to name a few. Other Registry Tools will probably work fine as well, but this is the one I have history with. I did not have 100% success by cleaning the registry, but 50 to 75% of the time it fixed the issue without having to uninstall and reinstall Oracle Forms.
Disclaimer: Please exercise caution when doing anything with the Windows Registry. The smallest change could have serious effects. Always backup the registry or create a restore point with System Restore before you make any changes to the Registry!
Hope this helps.
Craig...
If my response or someone else's response answers your question - please mark your question answered. Thanks. -
Problem in Form builder when calling layout tabstrip
Hello @all,
The last days all work great, but since today when i call the layout tabstrip in transaction. There comes the error message popup :
Adobe LiveCycle Designer ES has encountered a problem and needs to close. We are sorry for the inconvenience.
Error Signature AppName: formde~1.exe AppVer: 8.2.3.4195 ModName: mfc80u.dll
ModVer: 8.0.50727.4053 Offset: 0002ed52.
I dont know, why i hab this problem now.
i have reinstall SAP Gui , but the problem still exists. It also give a short dump message type X
Why do I have the problem, although everything worked all the time wonderfully,
Can anybody helps?
RegardsHello Christoper,
I'm experiencing the same problem when displaying the Layout in the Form Builder, it was working fine until today. The error message is similar to what you have reported. I wonder how you fix it, appreciate if you could share your resolution, thank you..
Below are the message I got:
Error Message:
Adobe LiveCycle Designer has encountered a problem and needs to close. We are sorry for the inconvenience.
AppName: formde~1.exe AppVer: 7.1.5020.1 ModName: mfc71u.dll
ModVer: 7.10.3077.0 Offset: 0002dc12
Another popup message after the above error:
FORMDE~1.EXE - Application Error
The instruction at "0x01684ce4" referenced memory at "0x03c00b08". the memory could not be "written"...
Rgds, WH -
Hi I installed forms builder 10
Forms [32 Bit] Version 10.1.2.0.2 (Production)
Oracle Toolkit Version 10.1.2.0.2 (Production)
PL/SQL Version 10.1.0.4.2 (Production)
Oracle Procedure Builder V10.1.2.0.2 - Production
PL/SQL Editor (c) WinMain Software (www.winmain.com), v1.0 (Production)
Oracle Query Builder 10.1.2.0.2 - Production
Oracle Virtual Graphics System Version 10.1.2.0.2 (Production)
Oracle Tools GUI Utilities Version 10.1.2.0.2 (Production)
Oracle Multimedia Version 10.1.2.0.2 (Production)
Oracle Tools Integration Version 10.1.2.0.2 (Production)
Oracle Tools Common Area Version 10.1.2.0.2
Oracle CORE 10.1.0.4.0 Production
IE 8.0.6001.18702
Firefox 3.6
Error:
Add-ons: {CAFEEFAC-0016-0000-0024-ABCDEFFEDCBA}:6.0.24,[email protected]:1.0,{972ce4c6-7e08-4474-a285-3208198ce6fd}:3.6
BuildID: 20100115144158
CrashTime: 1302745543
EMCheckCompatibility: true
FramePoisonBase: 00000000f0de0000
FramePoisonSize: 65536
InstallTime: 1302123168
ProductName: Firefox
ReleaseChannel: release
SecondsSinceLastCrash: 1840
StartupTime: 1302745542
I can connect to the database. When I run my test form IE crashes, I also try Firefox with error detail before.
How can I fix this?
Please help.
Thanks
JohnnyOne more info, this is how it looks my formsweb.cfg
# Page displayed to users to allow them to download Sun's Java Plugin.
# Sun's Java Plugin is typically used for non-Windows clients.
# (NOTE: you should check this page and possibly change the settings)
jpi_download_page=http://java.sun.com/products/archive/j2se/1.4.2_06/index.html
# Parameter related to the version of the Java Plugin
jpi_classid=clsid:CAFEEFAC-0014-0002-0006-ABCDEFFEDCBA
# Parameter related to the version of the Java Plugin
jpi_codebase=http://java.sun.com/products/plugin/autodl/jinstall-1_4_2-windows-i586.cab#Version=1,4,2,06
# Parameter related to the version of the Java Plugin
jpi_mimetype=application/x-java-applet
# EM config parameter
# Set this to "1" to enable Enterprise Manager to track Forms processes
em_mode=0
Thanks
Johnny -
Is there any way to enable the GUI form options in the new file wizard on a web project. We actually have applets that within our web project and need access to the GUI Forms option wizard withing the web project. However because its specified as a web project the option does not show up when you click new. Any way to add this to the options of file types.
No, there isn't need to copy back and forth. Once created, an Applet Form can be edited by visual Form Editor even after having been copied into Web Application project without needing to copy back into Java Application where it was created.
( ie.
1. create the form in Java Application project using "Java GUI Forms | AWT Forms | Applet Form" template path in the "New File" wizard (not "Java Classes | Applet" path ! )
2. copy/move the created applet node into Web Application project
3. edit the form right there - inside Web Application project
The Web Application and Java Application are parts of Netbeans platform that Java Studio Enterprise is built upon. There is an issue filed
http://www.netbeans.org/issues/show_bug.cgi?id=62127
to allow create the applet form node right inside web app project to avoid copying step. -
Hi All,
I have a form in a path say : "desktop\XXX\Form1.fmb". when I try to open the form using forms builder i get the error *" frm 18108 : failed to load object"*.. The object that it says has failed to load and the source containing the object are all in the same path " desktop\XXX\". If i give an ok, forms builder lists a set of .pll libraries and states that * "the libraries will be lost if changes to the module are saved" *...
All the libraries are present in the same folder as my form , "desktop\XXX\". When i try to compile the form with these issues, * forms builder crashes without any warning *. can someone guide me on how to proceed with this further???
Thanks in advance!
Edited by: 917229 on Jul 18, 2012 10:47 PMForms [32 Bit] Version 10.1.2.0.2 (Production)
Oracle Toolkit Version 10.1.2.0.2 (Production)
PL/SQL Version 10.1.0.4.2 (Production)
Oracle Procedure Builder V10.1.2.0.2 - Production
PL/SQL Editor (c) WinMain Software (www.winmain.com), v1.0 (Production)
Oracle Query Builder 10.1.2.0.2 - Production
Oracle Virtual Graphics System Version 10.1.2.0.2 (Production)
Oracle Tools GUI Utilities Version 10.1.2.0.2 (Production)
Oracle Multimedia Version 10.1.2.0.2 (Production)
Oracle Tools Integration Version 10.1.2.0.2 (Production)
Oracle Tools Common Area Version 10.1.2.0.2
Oracle CORE 10.1.0.4.0 Production -
Forms Builder Crashes when converting FMT to FMB
Has anyone ever encountered this problem? I just installed 10g developer suite and am opening Forms Builder and I am using the Convert function, converting a from FMT to a FMB, and when I select the file and hit the convert button, Forms Builder crashes almost instantly saying Oracle Forms Designed has encountered a problem and needs to close.
Any ideas? Thanks!Forms [32 Bit] Version 10.1.2.0.2 (Production)
Oracle Toolkit Version 10.1.2.0.2 (Production)
PL/SQL Version 10.1.0.4.2 (Production)
Oracle Procedure Builder V10.1.2.0.2 - Production
PL/SQL Editor (c) WinMain Software (www.winmain.com), v1.0 (Production)
Oracle Query Builder 10.1.2.0.2 - Production
Oracle Virtual Graphics System Version 10.1.2.0.2 (Production)
Oracle Tools GUI Utilities Version 10.1.2.0.2 (Production)
Oracle Multimedia Version 10.1.2.0.2 (Production)
Oracle Tools Integration Version 10.1.2.0.2 (Production)
Oracle Tools Common Area Version 10.1.2.0.2
Oracle CORE 10.1.0.4.0 Production -
FRM-91111 and FRM-10039 , cant open Forms Builder
hello again , so here iam having this error again , no idea whats causing it :\
./frmbld.sh
FRM-91111: Internal Error: window system startup failure.
FRM-10039: Unable to start up the Form Builder.
iam on Archlinux i686
$DISPLAY is set to :0.0 and i can launch any GUI application with the oracle user ( oradev )
also checked for openmotif , installed 2.3.0 and still nothing.
edit :
NLS_LANG is set to AMERICAN_AMERICA.UTF8
Edited by: L3thal on Nov 21, 2009 8:00 PMxhost +
access control disabled, clients can connect from any host
FRM-91111: Internal Error: window system startup failure.
FRM-10039: Unable to start up the Form Builder.
EDIT:
ok so i had to install the old openmotif 2.1.30 from rpm ( couldnt compile )
Edited by: L3thal on Nov 23, 2009 6:47 AM -
I seek a java forms builder for desktop applications
can any body help me find a forms builder for desktop applications using Swing?
i know Oracle Forms developer, but i think it is restricted to JSP projects only .. isn't it?Any IDE with a GUI builder will do. Not that I actually advice to create GUIs (I guess this is what you mean by form) with tools... but if you want to, that's the way. The editor of JBuilder is said to be quite good.
-
GUI app by netbeans doesn't work outside IDE
I have created a GUI app using netbeans. it runs fine inside the ide. then i copied the compiled class files to j2se's bin folder where java.exe and javac.exe are located and to run it, it said Exception in thread "main" java.lang.NoClassDefFoundError:
I'm a c++ win32 vistuo studio user for long time. this java thing is really pissing me off. the app is no good if i can't run it outside the IDE. netbeans' site said i must include swing-layout-0.7.jar but without saying a word of HOW.
HELP!If a user wanted to run a Swing application that was built using the GUI builder in NetBeans IDE, he/she would need to have the NetBeans Platform installed.Thats not true, to run a Swing app thats been developed in Netbeans and references classes that are part of the NetBeans API does not require the NetBeans platform to be installed on the target machine, you would have to include in ur App the jar files you are referencing from the NetBeans IDE.
-
We would like to have our customers/analysts to be able to create their own TOPLink query expression. I see the workbench has a SQL feature. However, does the TOPLink product have any GUI expression builder tool, for TOPLink query expression (not SQL)?
But no TOPLink query expression building in GUI instead of straight SQL or EJBQL.
I'm talking about "drag and drop" type of GUI features, allowing users to pick and choose the defined toplink persistent object/attributes to form the TOPLink query expression.
Maybe you are looking for
-
How to turn off voice control with iPhone 5s with iOS 8
I Dropped my phone in the tub, I have an otterbox on it but it didn't do the phone any good :/. I dried it off and the home button started acting up. And now it doesnt work when i hit it. But the Touch ID still works. However randomly voice control w
-
i have a first gen 250gb apple tv and i just recently bought the second gen apple tv also. I am using a macbook pro with lion for my main computer. Is it possible to use my first gen apple tv as the "library" that my second gen apple tv can load/stre
-
Adding new project mask in Production Client
Hi, I have requirement of adding new project mask code for Production client. As SAP standard functionality does not allow you to add any new project mask once you create a project .So if I try to add new mask system will not show me projects already
-
Hi! i have a question. When I start macbook, the guest user request me password, how the off? (Sorry for my english, i speak spanish, la pregunta en españo: al encender el macbook, el usuario invitado me solicita contraseña, como la quito?)
-
How to change SNP Plan name?
Hi, In transaction /sapapo/oo_ppm_conv 'During mode combination for generation of SNP plans', the system create SNP plan name automatically once you click button 'SNP Name'. However, the system generated name is not intuitive. Do you know if there is