How to "include" the class into the calling main()
I posted yesterday and cant find the thread so apologize if its already answered. Question is, if you make a class, say Class QA, then if you call it from a file while has the main() in it, what do you include or add in this calling file that will tell it that there is a class A defined . (Main uses class A). I cant find this anuywhere- though I dont have many resources yet.
Thanks,
ns
I have the class in the same folder but it says on compile"
C:\java>java GUIFrameTest
Exception in thread "main" java.lang.NoClassDefFoundError: GUIFrameTest
C:\java>here is my dir:
C:\java>dir
Volume in drive C has no label.
Volume Serial Number is 07D1-0702
Directory of C:\java
09/29/2002 09:26a <DIR> .
09/29/2002 09:26a <DIR> ..
09/29/2002 10:02a 825 GUIFrame.java
09/29/2002 10:02a 1,370 GUIFrame.class
09/30/2002 05:50a 176 GUIFrameTest.java
7 File(s) 3,036 bytes
2 Dir(s) 8,337,620,992 bytes free
C:\java>and the test class is:
public class GUIFrameTest{
public static void main(String args[]){
GUIFrame frame = new GUIFrame("GUIFrame Test");
frame.setSize(400,300);
frame.setVisible(true);
Help!
Similar Messages
-
How to include a report into the SAP-SCRIPT
plz tell me
How to include a report into the SAP-SCRIPT
ASAPcreat a z report like this....................
REPORT zmmgl_picklist1.
TABLES : likp,ltap,ltak.
data : lv_NUM1 type c .
data : lv_NUM type c.
*& Form get_data1
text
-->IN_DATA text
-->OUT_DATA text
FORM get_data1 TABLES in_data STRUCTURE itcsy
out_data STRUCTURE itcsy.
READ TABLE in_data WITH KEY name = 'LTAP-VBELN'.
lv_NUM = lv_NUM1 + 1.
out_data-name = 'lv_NUM'.
out_data-value = lv_NUM .
APPEND out_data.
endform.
*& Form get_data
This form is to read details from LIKP *
-->IN_DATA text
-->OUT_DATA text
FORM get_data TABLES in_data STRUCTURE itcsy
out_data STRUCTURE itcsy.
READ TABLE in_data WITH KEY name = 'LTAK-VBELN'.
Select single bldat from likp into likp-bldat where lgnum = ltap-lgnum.
out_data-name = 'LIKP-BLDAT'.
out_data-value = likp-bldat.
APPEND out_data.
READ TABLE in_data WITH KEY name = 'LTAK-VBELN'.
Select single vstel from likp into likp-vstel where lgnum = ltak-lgnum .
out_data-name = 'LIKP-VSTEL'.
out_data-value = likp-vstel.
APPEND out_data.
READ TABLE in_data WITH KEY name = 'LTAK-VBELN'.
Select single kunnr from likp into likp-kunnr where lgnum = ltap-lgnum.
out_data-name = 'LIKP-KUNNR'.
out_data-value = likp-kunnr.
APPEND out_data.
ENDFORM. "get_data.
after this go to the script editor......
/: perform get_data in program zmmgl_picklist1.
/: using <ap-vbeln& (Reference field.this field should be there in both program and script.....)
/:changing &likp-bldat&
/:changing &likp-vstel&
/:changing &likp-kunnr&
\[removed by moderator\]
Regards
Anbu
Edited by: Jan Stallkamp on Jun 10, 2008 2:26 PM -
Can any one tell me how to include the company logo and some poictures into the Teststand report
1. Can any one tell me how to include the company logo and some pictures into the Teststand report?
2. How to include the waveforms into the report?http://zone.ni.com/devzone/cda/epd/p/id/3619
jigg
CTA, CLA
teststandhelp.com
~Will work for kudos and/or BBQ~ -
How to stop the call summary display on home screen?
How to stop the call summary display on home screen?
Here are the solutions I can think of (if no one here responds with something better):
1. Open Settings and then Phone within the Settings screen and see if you can find a setting there for the call summary. The Phone submenu under Settings would be the most likely place.
2. Open Settings on your iPhone and go through each item including all of the items within each main item. Within about 10 minutes you should be able to get through all of the settings and find the setting if it exists on your phone. There is no such setting on my phone but it is possible that Airtel has a custom menu with that.
3. If you still haven't found it, you could check a) Airtel's support site and/or b) an Airtel specific forum.
4. If still no luck, I would call Airtel and ask again and if you get the same response ask for the location of the setting (or to speak to someone who can tell you).
Good luck. -
How to Include the Infocubes in a Multiprovider..!!
Hello Experts,
Question is related to multiproviders. I have some 20 to 30 of the infocubes in Dev System.
I have 2 multiproviders in the same system. I come to know..some of the infocubes missed out in multiproviders.
I tried to add those missed infocubes into multiprovider (MPRO --> Context Menu --> Change ) Change Structure.
But i found some of the infocubes are not available in the MPRO Structure Itself. For your info those all missed infocubes all are avaialable in the Dev system into some other info areas.
Now Question is how to include the infocubes of which of them are not available in MPRO Structure itself. I want to add the infocubes in the Multiprovider itself.
Please reply me the answer for the above scenario.
Thanks and Regards,
SN.Hi Parvin,
Thanks for your reply. But i already tried as you mentioned.
Here my issue is..even for giving the tickmark also..the infocube needs to be opened in the MPRO structure.
My problem is Infocube itself is not opening in MPRO Structure.
How to include the infocube in the MPRO Structure itself.
Those cubes are avaialable in the Dev system where as those are not available in MPRO.
Thanks,
SN -
How to initiate the call JDBC_Sender adapter from BPM?
Hello,
I have a periodicall proccess in BPM. After receiving some message in BPM I check some fileds of the message.If condition is true I need to initiate SQL request to external DB, to receive the message and send it after transformating to SAP.
How to initiate the call JDBC_Sender adapter from BPM? As I understand I need to use JDBC Sender adapter and once.
How to construct the correct BPM?
Thank Youthe message comes into BPM. You check for some conditions and if true use a send step (Sync) that would query into DB table and as a reponse retrieve the related data. After the send sync step have the transformation step and another send step to SAP.
U would not configure sender jdbc but u wud need to config for recv jdbc. this wuld service the request and in response return the set of data from the table
Message was edited by:
Prabhu S -
How to include the file name as an XML field
Hi,
I'm using a file adapter for process a flat file and convert it into an XML. Does anybody knows how to include the file name into an XML field.
Ex.
I process the file named <b>XXIMN21022007.txt</b> and I need an XML like:
<MT_FILE>
<field1></field1>
<field2></field2>
<field3></field3>
<filename><b>XXIMN21022007.txt</b></filename>
</MT_FILE>
Regards
GonzaloJust go for dynamic configuration.
Check the sender file adapter to write the filename in the header (as explained in Michal's blog) and then read that header in some mapping.
U can use that even in simple message mappings.
http://help.sap.com/saphelp_nw2004s/helpdata/en/43/03612cdecc6e76e10000000a422035/frameset.htm
Your code for the filename tag would be something like:
<i>DynamicConfiguration conf = (DynamicConfiguration) container
.getTransformationParameters()
.get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
DynamicConfigurationKey key = DynamicConfigurationKey.create(
http://sap.com/xi/XI/System/File,
FileName);
return conf.get(key);</i>
Regards,
Henrique. -
How to include the missing PF status in screen
Hello All,
How to include the missing Pf-status in screen?
Regards,
Lisa.check if the pf-status you use currently has all needed functions
if yes, probably you call it with an EXCLUDING statement and you have to remove some functions from the internal table of exclusions
if no, you have either to enhance this pf-status with additional functions either to copy it and enhance the copy, then call the copy in your program -
How to set the caller tune on PRI-Line/CUCM 8.X
Hi Team,
If passible to set the caller tune songs or advertising in CUCM 8.x -( in place of ringing).
How to set the caller tune for incoming calls( advertising), including 4 digit extension. This feature is available or not (cucm 8.0.3) Kindly verify and confirm
regards,
JohnsonDear Team,
Now i have configured the Call Queuing, Its working fine, But how to verify to incoming calls or Missed call are in queuing, how to showing.
Connected call are showing, but unable show missed call like who ever in queue.
Regards,
Johnson. -
How to include the page dynamically in JSF
Hi all
Below is static include
<jsp:include page="../inc/sideMenu.inc"/>
How to include the file dynamically
ThanksHi,
Though I have not tried it I think making use of a variable to hold the page name to be included should work. Could you try this and see if it works?
Cheers
Giri :-) -
How to include the pages dynamically in JSF
Hi all
Below is static include
<jsp:include page="../inc/sideMenu.inc"/>How to include the file dynamically
Thanks
SudhakarHi,
Though I have not tried it I think making use of a variable to hold the page name to be included should work. Could you try this and see if it works?
Cheers
Giri :-) -
How to include the insert picture option in the PDF form?
Hi, Can some one please help How to include the insert picture option in the PDF form? I am using acrobat XI pro and trying to use an evaluation form which requires to insert product pictures.
Here's a link to a previous topic where this was discussed: http://forums.adobe.com/message/6050458
-
How to Include the URL of a page in Notification Email ?
Hi ALL,
I need your help to implement the below requirement.
I have implemented Email notification in our application.so when ever the user creates any form/modify the form ,mail will be triggered to them.Now the users want to include the link in the email.
When they click the link in email ,it should be navigated to the newly created form page in Apex.
How to include the link of the page in the Email process?
Thanks,
Ramya.Hi Tuceef,
Thanks for the response.
I have created another hidden item P8_URL1 IN page 8 and
I have created an on submit process in page processing section.
the pl/sql code is
Begin
htp.p('<script type = "text/javascript">');
function setLocation(href)
// set the location path specified in the textbox.
htp.p('location.href = document.getElementById(href).value;');
htp.p('P8_URL1:= location.href');
htp.p('</script>');
end;But the code fetching the plain URL only,it's navigating to the empty form page when i click on the URL.
Please correct the code if am wrong anywhere!
Thanks & Regards,
Ramya. -
How to include the simbol % in a flash chart
hello everyone
Do you know how to include the simbol % in a flash chart?
I am using a 3D flash chart. This simbol obviously would be after that number of percentage.
Do I must modify the chart XML adding some after that {VALUE} ?
Any help would be very appreciated
Thank you in advance
Best RegardsErik:
You can specify the '%' in the 'Postfix' field in the 'Display Settings' on the 'Chart Attributes' page.
Varad -
How to include the hebrew languare in the Oracle Data?
Hi All,
I'm using this code in nls_lang value in the registry to include Arabic and English languages in the data:
AMERICAN_AMERICA.AR8MSWIN1256
but how to include the hebrew language to be used in the data also Plz?
Note: I'm using Oracle DB 10g R2Your database character set (SELECT value FROM nls_database_parameters WHERE parameter='NLS_CHARACTERSET') must be AL32UTF8 to support both Arabic and Hebrew. The client must be Unicode-enabled to enter both languages simultaneously.
-- Sergiusz -
How to include the Pipe symbol ("|") in the column heading.
Hi ,
Can somebody advice how to include the Pipe symbol ("|") in the column heading.
Regards,
YagneAre you looking for this ->
satyaki>
satyaki>select * from v$version;
BANNER
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod
PL/SQL Release 10.2.0.1.0 - Production
CORE 10.2.0.1.0 Production
TNS for Linux: Version 10.2.0.1.0 - Production
NLSRTL Version 10.2.0.1.0 - Production
Elapsed: 00:00:00.00
satyaki>
satyaki>
satyaki>set colsep '|'
satyaki>
satyaki>select * from emp;
EMPNO|ENAME |JOB | MGR|HIREDATE | SAL| COMM| DEPTNO|JOB1 |DOB
----------|----------|---------|----------|---------|----------|----------|----------|---------|----
7499|ALLEN |SALESMAN | 7698|20-FEB-81| 211.2| 300| 30|SALESMAN |
7521|WARD |SALESMAN | 7698|22-FEB-81| 1650| 500| 30|SALESMAN |
7654|MARTIN |SALESMAN | 7698|28-SEP-81| 1650| 1400| 30|SALESMAN |
7788|SCOTT |ANALYST | 7566|19-APR-87| 4356| | 20|ANALYST |
7839|KING |PRESIDENT| |17-NOV-81| 6600| | 10|PRESIDENT|
7844|TURNER |SALESMAN | 7698|08-SEP-81| 1980| 0| 30|SALESMAN |
7876|ADAMS |CLERK | 7788|23-MAY-87| 145.2| | 20|CLERK |
7900|JAMES |CLERK | 7698|03-DEC-81| 1254| | 30|CLERK |
7902|FORD |ANALYST | 7566|03-DEC-81| 4791.6| | 20|ANALYST |
7934|MILLER |CLERK | 7782|23-JAN-82| 1716| | 10|CLERK |
7566|Smith |Manager | 7839|23-JAN-82| 1680| 0| 10|Manager |23-JAN-89
EMPNO|ENAME |JOB | MGR|HIREDATE | SAL| COMM| DEPTNO|JOB1 |DOB
----------|----------|---------|----------|---------|----------|----------|----------|---------|----
7698|Glen |Manager | 7839|23-JAN-82| 1680| 0| 10|Manager |23-JAN-89
1111|Selen |SALESMAN | 7499|20-FEB-81| 1920| 0| 20|SALESMAN |23-JAN-89
1111|Selen |SALESMAN | 7499|19-OCT-08| 3000| 0| 10| |
7499|ALLEN |SALESMAN | 7499|19-OCT-08| 3000| 0| 30| |
1|boock | | | | | | | |
16 rows selected.
Elapsed: 00:00:01.03
satyaki>Regards.
Satyaki De.
Maybe you are looking for
-
[SOLVED] Gnome 3.4 / GTK / Firefox freezes
For the past week or so, I've been having a problem with Gnome Shell and/or particular applications freezing for around 30 seconds to a minute at a time. I can't quite pin down what the underlying problem is. It affects Firefox most obviously: any at
-
How to connect iTunes Store?
how could i connect to iTunes Store for my iphone 4s?i cnt donwload any ...
-
PSE 7 file to big in organizer
When I work with a canon raw (.cr2) file from my 50d and came back to the organizer, I get the message 'file is to big' in the organizer view. What can I do?
-
HCM Process and Forms Generic Service Error
I tried creating a generic service for HCM Process and Forms using enhancement spot HRASR00GENERIC_SERVICES. After I created a custom implementation I then added the filter value = ZH_FORM_HEADER (my generic service name/definition). When I try to go
-
I have not updated my iPod in a few years and usually have my iPhone 5 synching. I would like to update my music on my iPod - but it does not even register and I get a "bubble" coming up saying "USB DEVICES DISABLED - Unplug the device using too much