URGENTE per Tesi di Laurea!Problemi nella creazione Pacchetto Indesign
Buongiorno, vorrei chiedervi un aiuto per quanto riguarda la creazione di un Pacchetto Indesign, perchè il programma mi da dei problemi facendo comparire la schermata "impossibile copiare i file collegati necessari".
Nella schermata del mio lavoro mi compare il pallino verde con scritto che non ci sono errori, i collegamenti alle immagini ci sono tutti e ho provato anche, come suggerito in altri forum, a salvare il file in formato .idlm, ma non funziona nemmeno così perchè per fare il pacchetto mi richiede di salvare il file in .indd.
Inoltre il programma si chiude inaspettatamente se salvo in formato pdf, sia in Alta Qualità che in Minima risoluzione.
Potrei chiedervi quale potrebbe essere il problema e come risolverlo?perchè si tratta della mia tesi di laurea e non poterla salvare nè in pdf nè in pacchetto mi crea grossi problemi.
Vi ringrazio anticipatamente e aspettando un vostro gentile riscontro porgo cordiali saluti,
Paola Sacco.
I did it, but didn't work (manually) :-(
Here there's the "error report" (in this link): Error Report
And these are the other screenshot of the problem:
Similar Messages
-
Ho un problema nell'effettuare i download di tutti i miei ebook comprati su IBS sul mio tablet Android.
Al momento di effettuare il download, mi appare un messaggio in cui mi chiede di autorizzare il download del libro con il mio account adobe.
Quando inserisco le mie credenziali mi viene riportato un messaggio di errore che indica che il libro è stato acquistato con un differente ID nonostante io abbia solo questo ID in uso.
L'unica cosa che ho fatto è stata cambiare la password come richiesto per problemi di sicurezza in una vostra mail.
Contattando il personale di IBS, mi è stato detto che le sicurezze degli ebook sono veriifcate sia sull'account che sulla password, per cui ho provato a ripristinare la vecchia password ma il sistema non me lo fa fare.
Soluzioni in merito?
Saluti
FrancoFMaybe. Depends on the eBook reader.
If you are using iBook eBook reader, then iTunes -> Books, then you should be able to drag and drop the book onto your iTunes icon, or you can use iTunes -> File -> Add to Library...
If you are using a different eBook reader, then it may have registered with iOS that iTunes may sync documents for the app.
iTunes -> iPod Touch -> Apps -> File Sharing. Select your App from the File Sharing list, and drag your ebook to the Documents window.
eBook readers I know that support iTunes sync'ing are
BookShelfLT
GoodReader
Kindle
Stanza
This is NOT a complete list, just the eBook readers I have installed that show up under the iTunes File Sharing section. Stanza being my preferred eBook reader. -
Please Urgent sound applet in jsp problem
Hi please any body hekp me urgently.
I have a problem while playing a sound applet in the jsp file the error is class not found.
My applet class file is in the com.mypack.common
its code is
public class PlayErrorSoundApplet extends Applet
public PlayErrorSoundApplet()
public void init()
public void playSound()
String soundObj = getParameter("soundObj");
AudioClip sound = getAudioClip(getDocumentBase(), "success.wav");
sound.play();
in the jsp i have written the code like this
<applet codebase="com.mypack.common" code="PlayErrorSoundApplet.class" name="soundApplet" width="0" height="0">
<param name="soundObj" value="error.wav">
</applet>
In the applet console i got class not found error.
please help me .....advanced thanks......actually, codbase is a directory. so
<applet codebase="com/mypack/common" code="PlayErrorSoundApplet.class" name="soundApplet" width="0" height="0">
<param name="soundObj" value="error.wav">
</applet>this means you have something like
pacakge com.mypack.common
public class PlayErrorSoundApplet {
Make sure to put the html file in the root directory of the package structure
/myhtmlfile.html
/com
/mypack
/common
PlayErrorSoundApplet.class -
VERY URGENT - Adobe forms with email problems
I THERE - I AM A ADOBE FORMCENTRAL CLIENT I HAVE MY PAYEMENTS ON DAY BUT FOR SOME REASON THE ADOBE STOP RESENDING TO MY EMAUIL ACOUNT AND TO MY CLIENTS EMAIL ACCOUNT THE SUMARY OF THE FORM THAT IS SUBMITED. THIS IS VERY URGENT THAT BE FIXED FROM YOU SIDE PLS LET ME KNOW WHAT IS HAPENING.
PLS FIX THIS URGENT AS I HAVE MY CLIENTS SCREEMING ON ME
PLS ANSWER TO
[email protected]Now is working
after 2 hours is working now. but this have never hapen before. now I am
woried with this ADOBE FORM system!!!! it can hapen and I never know.
br
henrique
2014-04-25 21:29 GMT+01:00 Josh_Corey <[email protected]>:
Re: VERY URGENT - Adobe forms with email problems
created by Josh_Corey <http://forums.adobe.com/people/Josh_Corey> in
FormsCentral - View the full discussion<http://forums.adobe.com/message/6331228#6331228 -
I cannot connect my ipad with the program of yamaha stagemix, is urgent that they solve this problem to me, buys ipad esfecificamente to use that application, has somebody been able it to solve?
I cannot connect my ipad with the program of yamaha stagemix, is urgent that they solve this problem to me, buys ipad esfecificamente to use that application, has somebody been able it to solve?
-
ho acquistato in data 27/05/2014 il Pacchetto "Creative Cloud Membership".
Però, siccome dobbiamo prendere anche una secondo pacchetto, ci siamo accorti che sarebbe stata più idonea alle nostre esigenze l'acquisto della "Creative Clout for Team".
Le volevo chiedere se è possibile disattivare la mia "Creative Cloud Membership" per poi procedere all'acquisto di due licenze della "Creative Cloud Membership" senza però perdere i soldi che ho già versato.@Hi bordegoni
Please contact our Chat support team who can assist with the cancellation and refund of your individual membership: Annullare l’abbonamento o la sottoscrizione | Creative Cloud
Thanks
Bev -
problemi cn iphone 5 nelricaricare la batteria ma essendo che il mio iphone è americano in italia non lo sistemano come faccio
Non c'e nessuno da Apple su questo foro. Siamo utenti come te.
-
URGENT please !!! Problem with XML Publisher , OAF Integration
Hi,
I am trying to integrate an XML Publisher Report into OA Framework but running into issues.
If you could help me or give any pointers I would greatly appreciate it.
When run the report through Concurrent Manager, it runs without any problem. But, when I run
it from OAF, nullpointer exception is raised at this statement i.e. datatemplate.processData();
I did go through many threads related to this topic, but couldn't get any help.
This is what I have done
========================
1. Wrote a PLSQL package to generate XML output.
BEGIN
open c_person;
fetch c_person into v_last_name;
close c_person;
fnd_file.put_line(FND_FILE.OUTPUT,'<?xml version="1.0" encoding="UTF-8"?>');
fnd_file.put_line(FND_FILE.OUTPUT,'<QUALIFICATION_REPORT>');
fnd_file.put_line(FND_FILE.OUTPUT,'<CANDIDATE>');
fnd_file.put_line(FND_FILE.OUTPUT,'<CANDIDATE_NAME>'||v_last_name||'</CANDIDATE_NAME>');
fnd_file.put_line(FND_FILE.OUTPUT,'<QUALIFICATIONS_LIST>');
FOR c1_Rec IN c_qual LOOP
fnd_file.put_line(FND_FILE.OUTPUT , '<QUALIFICATION>');
WritetoXMLForRTF('NAME' , c1_rec.name);
WritetoXMLForRTF('CATEGORY' , c1_rec.category);
WritetoXMLForRTF('START_DATE' , c1_rec.start_date);
WritetoXMLForRTF('END_DATE' , c1_rec.end_date);
WritetoXMLForRTF('SUBJECT' , c1_rec.subject_meaning);
WritetoXMLForRTF('GRADE_ATTAINED' , c1_rec.grade_attained);
WritetoXMLForRTF('HQ_STATUS' , c1_rec.hq_status);
fnd_file.put_line(FND_FILE.OUTPUT , '</QUALIFICATION>');
END LOOP;
fnd_file.put_line(FND_FILE.OUTPUT,'</QUALIFICATIONS_LIST>');
fnd_file.put_line(FND_FILE.OUTPUT,'</CANDIDATE>');
fnd_file.put_line(FND_FILE.OUTPUT,'</QUALIFICATION_REPORT>');
retcode := 0;
END;
2. Defined a concurrent program to call this PLSQL package/procedure.
3. Defined a RTF template.
4. Registered both the data definition and report template using XML Publisher Admin.
5. Within OA Framework, I have coded as follows.
Controller
Process Form Request
Added a button to invoke the report.
if (pageContext.getParameter("AddlQualRptBtn") != null)
OAApplicationModule am = pageContext.getApplicationModule(webBean);
String p1 = "17965";
String TemplateApplicationShortName = "CPC";
String TemplateCode = "CPC_QUAL_RPT" ;
BlobDomain result = (BlobDomain) getXMLData(p1,pageContext,webBean);
Properties prop = new Properties();
prop.put("html-image-dir",pageContext.getTemporaryImageLocation());
prop.put("html-image-base-uri",pageContext.getTemporaryImageLocation());
try {
DocumentHelper.exportDocument( pageContext,
TemplateApplicationShortName,
TemplateCode,
"en" , //Language
"US" , //Territory
result.getInputStream(),
Template.TEMPLATE_TYPE_RTF, //OutputType,
prop);
} catch (Exception e)
throw new OAException("Exception" + e.getMessage(),OAException.ERROR);
getXMLData
public BlobDomain getXMLData(String pPersonId, OAPageContext pageContext, OAWebBean webBean)
BlobDomain blobDomain = new BlobDomain();
OAApplicationModule oaapplicationmodule = pageContext.getApplicationModule(webBean);
OADBTransaction oadbtransaction = oaapplicationmodule.getOADBTransaction();
try
String dataDefCode = "CPC_IREC_QUALIFICATION_RPT" ;
String dataDefApp = "CPC";
DataTemplate datatemplate = new DataTemplate(((OADBTransactionImpl)oaapplicationmodule.getOADBTransaction()).getAppsContext(), dataDefApp,dataDefCode );
Hashtable parameters = new Hashtable();
parameters.put("p_person_id",pPersonId);
datatemplate.setParameters(parameters);
datatemplate.setOutput(blobDomain.getBinaryOutputStream());
datatemplate.processData();
catch(SQLException e)
throw new OAException("SQL Error=" + e.getMessage(),OAException.ERROR);
catch (XDOException e)
throw new OAException("XDOException" + e.getMessage(),OAException.ERROR);
catch(Exception e)
throw new OAException("Exception" + e.getMessage(),OAException.ERROR);
return blobDomain;
6. When I run the report from OAF the statement "datatemplate.processData();" generates Null Pointer Exception error.Hi TyskJohan,
Thanks a lot for your reply, I appreciate it !!
Here is the full error stack. I added many debug statements and identified that it exactly fails at datatemplate.processData();
I did run the PLSQL procedure and it does creates the XML output properly. Also, the report works fine if I run it through Concurrent Manager. Is there any other way I can check from within OA Framework?
Thanks again.
[031108_031818343][][EXCEPTION] java.lang.NullPointerException
at oracle.apps.xdo.dataengine.DataTemplateParser.GetNodeNumChildren(DataTemplateParser.java:345)
at oracle.apps.xdo.dataengine.DataTemplateParser.templateParser(DataTemplateParser.java:277)
at oracle.apps.xdo.dataengine.XMLPGEN.setDataTemplate(XMLPGEN.java:599)
at oracle.apps.xdo.dataengine.DataProcessor.setDataTemplate(DataProcessor.java:193)
at oracle.apps.xdo.oa.util.DataTemplate.<init>(DataTemplate.java:136)
at pgcps.oracle.apps.per.irc.selfservice.webui.pgcpsIrcAddlQualRptCO.getXMLData(pgcpsIrcAddlQualRptCO.java:114)
at pgcps.oracle.apps.per.irc.selfservice.webui.pgcpsIrcAddlQualRptCO.processFormRequest(pgcpsIrcAddlQualRptCO.java:81)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:810)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
at oracle.apps.fnd.framework.webui.beans.layout.OAHeaderBean.processFormRequest(OAHeaderBean.java:408)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1022)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:988)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:843)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processFormRequest(OAStackLayoutBean.java:370)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1022)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:988)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:843)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processFormRequest(OAPageLayoutHelper.java:1159)
at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processFormRequest(OAPageLayoutBean.java:1579)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1022)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:988)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:843)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processFormRequest(OAFormBean.java:395)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1022)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:988)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:843)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormRequest(OABodyBean.java:363)
at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(OAPageBean.java:2675)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1682)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:508)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:429)
at OA.jspService(OA.jsp:34)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
at java.lang.Thread.run(Thread.java:534)
-------------------------------------------------------------------------------------------------------------------- -
Urgent: regarding ALV report display problem
hi,
There are 3 problems:-
1.) I had made a ALV report in which i have to display 'POSTING DATE' (iseg-budat) when we execute the report i.e. it should be displayed as PERIOD :- _______ to _______ on alv report ..
2.)the 2nd problem is dat when i use the ' wa_fieldcat-no_zero = 'X'. It eliminates all the leading zeros which are present which is okay when i it displays material no.. but the problem is dat it also deletes the other fields where the values are to be zeros.
i had used this FM:-
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT'
EXPORTING
INPUT = ITS1-MATNR
IMPORTING
OUTPUT = ITS1-MATNR.
so that only matnr field are to be 0's.
3.) I want to delete the rows which use to contain the values 0's as there are no calculations are performing as these are displayed .
ANYbody having solution of this problem ,plzzzz provide the soluion of it as it is most urgent to me and dat person will definately rewarded.
regards,
ric.shi kiran,
thanks for ur response. here is d code which i am using it and plzz help me to figure out where i have to make changes:-
REPORT ZTEST03.
TABLES: ISEG,MARA.
TYPE-POOLS : SLIS.
INTERNAL TABLE FOR INVENTORY STOCK *****************
DATA: BEGIN OF ITS1 OCCURS 0,
MATNR LIKE ISEG-MATNR,
MEINS LIKE ISEG-MEINS,
MENGE LIKE ISEG-MENGE,
WRTZL LIKE ISEG-WRTZL,
BUCHM LIKE ISEG-BUCHM,
WRTBM LIKE ISEG-WRTBM,
WERKS LIKE ISEG-WERKS,
BUDAT LIKE ISEG-BUDAT,
MTART LIKE MARA-MTART,
ITEMDESC LIKE MAKT-MAKTX,
DIFFQTY LIKE ISEG-BUCHM,
DIFFVALUE LIKE ISEG-WRTBM,
END OF ITS1.
data: t_heading type slis_t_listheader.
SELECTION-SCREEN BEGIN OF BLOCK PAR1 WITH FRAME TITLE TEXT-001.
*********PARAMETERS*********
PARAMETERS : PLANT LIKE ISEG-WERKS OBLIGATORY.
*********SELECTION SCREEN OPTIONS*********
SELECT-OPTIONS : R_DATE FOR ISEG-BUDAT,
M_TYPE FOR MARA-MTART,
IT_M FOR MARA-MATNR.
*********DEFINING VARIABLES*********
SELECTION-SCREEN END OF BLOCK par1.
TOP-OF-PAGE.
PERFORM PG_HEADER.
START-OF-SELECTION.
SELECT DISTINCT A~MATNR A~MEINS A~MENGE A~WRTZL A~BUCHM A~WRTBM A~WERKS A~BUDAT B~MTART
FROM ISEG AS A INNER JOIN MARA AS B ON B~MATNR = A~MATNR
INTO CORRESPONDING FIELDS OF TABLE ITS1 WHERE B~MATNR = A~MATNR AND B~MEINS = A~MEINS AND A~WERKS = PLANT AND A~BUDAT IN R_DATE AND B~MTART IN M_TYPE AND B~MATNR IN IT_M.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT'
EXPORTING
INPUT = ITS1-MATNR
IMPORTING
OUTPUT = ITS1-MATNR.
SORT ITS1 BY MATNR.
DELETE ADJACENT DUPLICATES FROM ITS1 WHERE MENGE = 0 AND BUCHM = 0.
LOOP AT ITS1.
ITS1-DIFFQTY = ITS1-MENGE - ITS1-BUCHM.
ITS1-DIFFVALUE = ITS1-WRTZL - ITS1-WRTBM.
SELECT SINGLE MAKTX FROM MAKT INTO ITS1-ITEMDESC WHERE MATNR = ITS1-MATNR.
MODIFY ITS1.
ENDLOOP.
PERFORM PRN_SMSTOCK_ALV.
WRITING DATA FROM D TABLES**********
FORM PG_HEADER.
WRITE : 'PHYSICAL INVENTORY AUDIT REPORT PLANT : ', PLANT.
ENDFORM.
*& Form PRN_SMSTOCK_ALV
text
--> p1 text
<-- p2 text
form PRN_SMSTOCK_ALV .
data: w_title type lvc_title,
w_repid type syrepid,
w_comm type slis_formname,
w_status type slis_formname,
x_layout type slis_layout_alv,
t_event type slis_t_event,
t_fieldcat type slis_t_fieldcat_alv,
t_sort type slis_t_sortinfo_alv.
refresh t_fieldcat.
refresh t_event.
refresh t_sort.
clear x_layout.
clear w_title.
perform set_fieldcat2 using:
1 'MTART' 'MTART' 'MARA' '15' space 'MATERIAL TYPE' space space space space space space space space SPACE t_fieldcat 'L' 'C',
2 'MATNR' 'MATNR' 'MARA' '13' space 'MATERIAL NO. ' space space space space space space space space SPACE t_fieldcat 'R' 'C',
3 'ITEMDESC' 'MAKTX' 'MAKT' '25' space 'MATERIAL DESCRIPTION' space space space space space space space space SPACE t_fieldcat 'L' 'C',
4 'MEINS' 'MEINS' 'MARA' '5' space 'UOM' space space space space space space space space SPACE t_fieldcat 'C' 'C',
5 'MENGE' 'MENGE' 'ISEG' '13' space 'ORG.INV.QTY' space space space space space space space space SPACE t_fieldcat 'R' 'C',
6 'WRTZL' 'WRTZL' 'ISEG' '13' space 'ORG.INV.VALUE' space space space space space space space space SPACE t_fieldcat 'R' 'C',
7 'BUCHM' 'BUCHM' 'ISEG' '13' space 'PHY.INV.QTY' space space space space space space space space SPACE t_fieldcat 'R' 'C',
8 'WRTBM' 'WRTBM' 'ISEG' '13' space 'PHY.INV.VALUE' space space space space space space space space SPACE t_fieldcat 'R' 'C',
9 'DIFFQTY' 'MENGE' 'ISEG' '13' space 'DIFF.INV.QTY' space space space space space space space space SPACE t_fieldcat 'R' 'C',
10 'DIFFVALUE' 'WRTZL' 'ISEG' '13' space 'DIFF.INV.VALUE' space space space space space space space space SPACE t_fieldcat SPACE 'P'.
x_layout-zebra = 'X'.
perform set_top_page_heading using t_heading t_event.
perform set_events using t_event.
w_status = ''.
w_repid = sy-repid.
w_comm = 'USER_COMMAND'.
call function 'REUSE_ALV_GRID_DISPLAY'
exporting
i_callback_program = w_repid
it_fieldcat = t_fieldcat
i_Callback_top_of_page = 'Top-of-page'
is_layout = x_layout
it_sort = t_sort
i_callback_pf_status_set = w_status
i_callback_user_command = w_comm
i_save = 'X'
it_events = t_event
i_grid_title = w_title
tables
t_outtab = ITS1
exceptions
program_error = 1
others = 2.
if sy-subrc <> 0.
message id sy-msgid type sy-msgty number sy-msgno
with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
endif.
ENDFORM.
FORM set_fieldcat2 USING
p_colpos p_fieldname p_ref_fieldname p_ref_tabname
p_outputlen p_noout
p_seltext_m p_seltext_l p_seltext_s p_reptext_ddic p_ddictxt
p_hotspot p_showasicon p_checkbox p_edit
p_dosum
t_fieldcat TYPE slis_t_fieldcat_alv
P_JUST
P_FTYPE.
DATA: wa_fieldcat TYPE slis_fieldcat_alv.
CLEAR wa_fieldcat.
General settings
wa_fieldcat-fieldname = p_fieldname.
wa_fieldcat-no_zero = 'X'.
wa_fieldcat-col_pos = p_colpos.
wa_fieldcat-no_out = p_noout.
wa_fieldcat-hotspot = p_hotspot.
wa_fieldcat-checkbox = p_checkbox.
wa_fieldcat-icon = p_showasicon.
wa_fieldcat-do_sum = p_dosum.
Set output length.
IF NOT p_outputlen IS INITIAL.
wa_fieldcat-outputlen = p_outputlen.
ENDIF.
Set text headers.
IF NOT p_seltext_m IS INITIAL.
wa_fieldcat-seltext_m = p_seltext_m.
ENDIF.
IF NOT p_seltext_l IS INITIAL.
wa_fieldcat-seltext_l = p_seltext_l.
ENDIF.
IF NOT p_seltext_s IS INITIAL.
wa_fieldcat-seltext_s = p_seltext_s.
ENDIF.
IF NOT p_reptext_ddic IS INITIAL.
wa_fieldcat-reptext_ddic = p_reptext_ddic.
ENDIF.
IF NOT p_ddictxt IS INITIAL.
wa_fieldcat-ddictxt = p_ddictxt.
ENDIF.
IF NOT P_JUST IS INITIAL.
WA_FIELDCAT-JUST = P_JUST.
ENDIF.
Set as editable or not.
IF NOT p_edit IS INITIAL.
wa_fieldcat-input = 'X'.
wa_fieldcat-edit = 'X'.
ENDIF.
APPEND wa_fieldcat TO t_fieldcat.
ENDFORM. "set_fieldcat2
======================== Subroutines called by ALV ================
*& Form top_of_page
Called on top_of_page ALV event.
Prints the heading.
form top_of_page.
call function 'REUSE_ALV_COMMENTARY_WRITE'
exporting
it_list_commentary = t_heading.
ENDFORM.
form set_top_page_heading using t_heading type slis_t_listheader
t_events type slis_t_event.
data: x_heading type slis_listheader,
x_event type line of slis_t_event.
Report title
clear t_heading[].
clear x_heading.
x_heading-typ = 'H'.
x_heading-info = 'PHYSICAL INVENTORY AUDIT REPORT'.
append x_heading to t_heading.
Plant Name
clear x_heading.
x_heading-typ = 'S'.
x_heading-key = 'PLANT: '.
x_heading-info = its1-werks.
append x_heading to t_heading.
Posting Date
*clear x_heading.
x_heading-typ = 'S'.
x_heading-key = 'POSTING DATE: '.
x_heading-info = ITS1-BUDAT.
append x_heading to t_heading.
Control Date
clear x_heading.
x_heading-typ = 'S'.
x_heading-key = 'CONTROL No: '.
x_heading-info = its1-werks.
append x_heading to t_heading.
Control date
clear x_heading.
x_heading-typ = 'S'.
x_heading-key = 'CONTROL DATE: '.
x_heading-info = its1-werks.
append x_heading to t_heading.
User who is running the report
clear x_heading.
x_heading-typ = 'S'.
x_heading-key = 'User: '.
x_heading-info = sy-uname.
append x_heading to t_heading.
Date of execution
clear x_heading.
x_heading-typ = 'S'.
x_heading-key = 'Date: '.
write sy-datum to x_heading-info.
append x_heading to t_heading.
Time of execution
clear x_heading.
x_heading-typ = 'S'.
x_heading-key = 'Time: '.
write sy-uzeit to x_heading-info.
append x_heading to t_heading.
Top of page event
x_event-name = slis_ev_top_of_page.
x_event-form = 'TOP_OF_PAGE'.
append x_event to t_events.
endform.
form set_events using t_events type slis_t_event.
data: x_event type line of slis_t_event.
endform.
plzzz help me out as it is most urgent to me.
regards,
ric.s -
Urgent help need on swing problem
Dear friends,
I met a problem and need urgent help from guru here, I am Swing newbie,
I have following code and hope to draw lines between any two components at RUN-TIME, not at design time
Please throw some skeleton code, Thanks so much!!
code:
package com.swing.test;
import java.awt.*;
import java.awt.event.*;
import java.awt.geom.*;
import javax.swing.*;
import javax.swing.event.*;
public class LongguConnectLineCommponent
public static void main(String[] args)
JFrame f = new JFrame("Connecting Lines");
f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
f.getContentPane().add(new ConnectionPanel());
f.setSize(400,300);
f.setLocation(200,200);
f.setVisible(true);
class ConnectionPanel extends JPanel
JLabel label1, label2, label3, label4;
JLabel[] labels;
JLabel selectedLabel;
int cx, cy;
public ConnectionPanel()
setLayout(null);
addLabels();
label1.setBounds( 25, 50, 125, 25);
label2.setBounds(225, 50, 125, 25);
label3.setBounds( 25, 175, 125, 25);
label4.setBounds(225, 175, 125, 25);
determineCenterOfComponents();
ComponentMover mover = new ComponentMover();
addMouseListener(mover);
addMouseMotionListener(mover);
public void paintComponent(Graphics g)
super.paintComponent(g);
Graphics2D g2 = (Graphics2D)g;
g2.setRenderingHint(RenderingHints.KEY_ANTIALIASING,
RenderingHints.VALUE_ANTIALIAS_ON);
Point[] p;
for(int i = 0; i < labels.length; i++)
for(int j = i + 1; j < labels.length; j++)
p = getEndPoints(labels, labels[j]);
//g2.draw(new Line2D.Double(p[0], p[1]));
private Point[] getEndPoints(Component c1, Component c2)
Point
p1 = new Point(),
p2 = new Point();
Rectangle
r1 = c1.getBounds(),
r2 = c2.getBounds();
int direction = r1.outcode(r2.x, r2.y);
switch(direction) // r2 located < direction > of r1
case (Rectangle.OUT_LEFT): // West
p1.x = r1.x;
p1.y = r1.y;
p2.x = r2.x + r2.width;
p2.y = r2.y;
if(r1.y > cy)
p1.y = r1.y + r1.height;
p2.y = r2.y + r2.height;
break;
case (Rectangle.OUT_TOP): // North
p1.x = r1.x;
p1.y = r1.y;
p2.x = r2.x;
p2.y = r2.y + r2.height;
if(r1.x > cx && r2.x > cx)
p1.x = r1.x + r1.width;
p2.x = r2.x + r2.width;
break;
case (Rectangle.OUT_LEFT + Rectangle.OUT_TOP): // NW
p1.x = r1.x;
p1.y = r1.y;
p2.x = r2.x + r2.width;
p2.y = r2.y;
if(r1.y > r2.y + r2.height)
p2.y = r2.y + r2.height;
break;
case (Rectangle.OUT_RIGHT): // East
p1.x = r1.x + r1.width;
p1.y = r1.y;
p2.x = r2.x;
p2.y = r2.y;
if(r1.y > cy)
p1.y = r1.y + r1.height;
p2.y = r2.y + r2.height;
break;
case (Rectangle.OUT_TOP + Rectangle.OUT_RIGHT): // NE
p1.x = r1.x + r1.width;
p1.y = r1.y;
p2.x = r2.x;
p2.y = r2.y;
if(r1.y > cy)
p1.y = r1.y + r1.height;
p2.y = r2.y + r2.height;
if(r1.y > r2.y + r2.height)
p1.y = r1.y;
else
if(r1.y > r2.y + r2.height)
p2.y = r2.y + r2.height;
break;
case (Rectangle.OUT_BOTTOM): // South
p1.x = r1.x;
p1.y = r1.y + r1.height;
p2.x = r2.x;
p2.y = r2.y;
if(r1.x > cx && r2.x > cx)
p1.x = r1.x + r1.width;
p2.x = r2.x + r2.width;
break;
case (Rectangle.OUT_RIGHT + Rectangle.OUT_BOTTOM): // SE
p1.x = r1.x + r1.width;
p1.y = r1.y + r1.height;
p2.x = r2.x;
p2.y = r2.y;
break;
case (Rectangle.OUT_BOTTOM + Rectangle.OUT_LEFT): // SW
p1.x = r1.x;
p1.y = r1.y + r1.height;
p2.x = r2.x;
p2.y = r2.y;
if(r1.x > r2.x + r2.width)
p2.x = r2.x + r2.width;
if(r1.x > cx && r2.x > cx)
p1.x = r1.x + r1.width;
p2.x = r2.x + r2.width;
return new Point[] {p1, p2};
private void determineCenterOfComponents()
int
xMin = Integer.MAX_VALUE,
yMin = Integer.MAX_VALUE,
xMax = 0,
yMax = 0;
for(int i = 0; i < labels.length; i++)
Rectangle r = labels[i].getBounds();
if(r.x < xMin)
xMin = r.x;
if(r.y < yMin)
yMin = r.y;
if(r.x + r.width > xMax)
xMax = r.x + r.width;
if(r.y + r.height > yMax)
yMax = r.y + r.height;
cx = xMin + (xMax - xMin)/2;
cy = yMin + (yMax - yMin)/2;
private class ComponentMover extends MouseInputAdapter
Point offsetP = new Point();
boolean dragging;
public void mousePressed(MouseEvent e)
Point p = e.getPoint();
for(int i = 0; i < labels.length; i++)
Rectangle r = labels[i].getBounds();
if(r.contains(p))
selectedLabel = labels[i];
offsetP.x = p.x - r.x;
offsetP.y = p.y - r.y;
dragging = true;
break;
public void mouseReleased(MouseEvent e)
dragging = false;
public void mouseDragged(MouseEvent e)
if(dragging)
Rectangle r = selectedLabel.getBounds();
r.x = e.getX() - offsetP.x;
r.y = e.getY() - offsetP.y;
selectedLabel.setBounds(r.x, r.y, r.width, r.height);
determineCenterOfComponents();
repaint();
private void addLabels()
label1 = new JLabel("Label 1");
label2 = new JLabel("Label 2");
label3 = new JLabel("Label 3");
label4 = new JLabel("Label 4");
labels = new JLabel[] {
label1, label2, label3, label4
for(int i = 0; i < labels.length; i++)
labels[i].setHorizontalAlignment(SwingConstants.CENTER);
labels[i].setBorder(BorderFactory.createEtchedBorder());
add(labels[i]);If you need some help, be respectful of the forum rules and people will help. By using "urgent" in the title and bumping your message every 2 hours you're just asking to be ignored (which is what you ended up with).
-
Urgent: JAAS Login Module Deployment Problem
Hi,
I have developed a JAAS Login module for the portal (EP6 SP9 sneak preview) and i am getting the following error:
GroupAssignmentLoginModuleLibrary does not exist in LoadContextWrapper.modifyName.
com.sap.engine.services.security.exceptions.BaseSecurityException: Can not load a login Module
The next line is a ClassNotFoundException for the Login Module and the class found in negative cache.
Please let me know if you know the solution to this problem.
It is an urgent issue and a solution will be suitably rewarded.
Regards,
VibhuHi Diego,
Scenario 1: SAP EP to SAP Backend Integration
In this scenario the most commonly used strategy
is SAP logon tickets. As far as I know this is the
best and simple way to implement SSO.
Scenario 2: SAP EP to Non SAP systems.
In this scenario various mechanisms can be used.
It depends on the application you are integrating
with. SAP does deliver SSO soultions with Lotus
Notes and Outlook etc. If supported probably it is
simple to use the SAP solution [Reliability and
Support].
Scenario 3: Enterprise Uses third party authetication
Software.
For the authntication if the company chooses to use
some third party product like SiteMinder etc, then
you can simply use this solution for SAP EP authe-
tication, and also all your other enterprise
applications based on the product support. But SAP
EP to other SAP systems be best integrated with SAP
logon tickets.
Scenario 4: SSO using homegrown authetication or some
third party JAAS module.
If you have significant applications that are home
grown that uses some custom authentication mecha-
nism (Example: Authentication based on ID and
Password stored in company database ) you can write
a JAAS module extention to authenticate using that
database. In other words JAAS is flexible and
for using external authentication mechanisms.
There are several mechanisms available that all depends
on your internal applications/security mechanism/integration etc.
Here is the link to one of the good articles on SDN about the SAP supported SSO mechanisms.
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/58094632-0301-0010-a391-fc0de26f010e
Hope this information is useful.
-Venkat Malempati -
Problemi nel riconoscimento del pc dopo formattazione
I problemi sono due e collegati: -nel mio account online il mio ebook non risulta più tra i prodotti registrati -pur riuscendo ad accedere all'ebook tramite il software su pc non ho la possibilità di leggere i libri dalla libreria in quanto il PC non risulta più registrato INFO: i problemi si sono presentati dopo aver formattato e reinstallato il sistema operativo Windows7.
Hi @AndreaDamico ,
Thank you for visiting our English HP Support Forum. We are only able to reply to posts written in English. To insure a quick response it would be advisable to post your question in English. The following links are here to assist you if you prefer to post in the following Language Forum.
English: http://h30434.www3.hp.com
Spanish: http://h30467.www3.hp.com
French: http://h30478.www3.hp.com
Portuguese: http://h30487.www3.hp.com
German: http://h30492.www3.hp.com
Korean: http://h30491.www3.hp.com/t5/community/communitypage
Simplified Chinese: http://h30471.www3.hp.com/t5/community/communitypage
Thank you for your understanding
I work for HP. However I speak only for myself, not for HP nor anyone else -
[MSI-GT70 2OD]Gtx 780m & Tes Online & fan problems
So here we go.
it's a week (since the early teso release) im stuck with this "HUGE" problem.
this is my configuration:
-i7 4700mq
-32gb ram
-gtx 780m
-triple ssd raid0
guess this should be enough to run everything at least with an average quality. but it doesnt.
everything but tes goes fine (even furmark) and the gpu barely runs over 60-65° degrees.
with tes is an entire different question, since even with low settings(or the suggested settings from nvidia geforce experience) i get a no-sense fan noise due to the overwork of my gpu.
the result is playing on an airstrip or not at all.
i've read some people got fps problems with the same gpu/pc, i think this is the same, just my gpu works more than intended to fix the issue.I'm not entirely certain what the problem here is....you haven't really clearly defined what it is. no-sense fan noise? What?
Most likely there's a configuration error and that's the real problem. Or it could be a problem with The Elder Scrolls Online (I assume that's the game you're talking about).
But until it's clearly defined, we can't really do much to help you. -
firstly i made a jtable to adds and deletes rows and passes the the data to the table model from some textfields. then i wanted to add a tablemoselistener method in order to change the value in the columns 1,2,3,4 and set the result of them in the column 5. when i added that portion of code the buttons that added and deleted rows had problems to function correctly..they dont work at all..can somebody have a look in my code and see wot is wrong..thanx in advance..
below follows the code..sorry for the mesh of the code..you can use and run the code and notice the problem when you press the add button..also if you want delete the TableChanged method to see that the add button works perfect.
* Created on 03-Aug-2005
* TODO To change the template for this generated file go to
* Window - Preferences - Java - Code Style - Code Templates
* @author Administrator
* TODO To change the template for this generated type comment go to
* Window - Preferences - Java - Code Style - Code Templates
import java.awt.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.util.Vector;
import javax.swing.*;
import javax.swing.table.*;
import javax.swing.event.TableModelEvent;
import javax.swing.event.TableModelListener;
import java.io.*;
public class NodesTable extends JFrame implements TableModelListener, ActionListener {
JTable jt;
DefaultTableColumnModel dtcm;
TableColumn column[] = new TableColumn[100];
DefaultTableModel dtm;
JLabel Name,m1,w1,m2,w2;
JTextField NameTF,m1TF,w1TF,m2TF,w2TF;
String c [] ={ "Name", "Assessment1", "Weight1" , "Assessment2","Weight2 ","TotalMark"};
float x=0,y=0,tMark=0,z = 0;
float j=0;
int i;
JButton DelButton;
JButton AddButton;
JScrollPane scrollPane;
JPanel mainPanel,buttonPanel;
JFrame frame;
Object[][] data =
{"tami", new Float(1), new Float(1.11), new Float(1.11),new Float(1),new Float(1)},
{"tami", new Float(1), new Float(2.22), new Float(2.22),new Float(1),new Float(1)},
{"petros", new Float(1), new Float(3.33), new Float(3.33),new Float(1),new Float(1)},
{"petros", new Float(1), new Float(4.44), new Float(4.44),new Float(1),new Float(1)}
public NodesTable() {
super("Student Marking Spreadsheet");
this.AddNodesintoTable();
setSize(400,250);
setVisible(true);
public void AddNodesintoTable(){
// Create a vector object and load them with the data
// to be placed on each row of the table
dtm = new DefaultTableModel(data,c);
dtm.addTableModelListener( this );
jt = new JTable(dtm){
// Returning the Class of each column will allow different
// renderers to be used based on Class
public Class getColumnClass(int column)
return getValueAt(0, column).getClass();
// The Cost is not editable
public boolean isCellEditable(int row, int column)
int modelColumn = convertColumnIndexToModel( column );
return (modelColumn == 5) ? false : true;
//****************************User Input**************************
//Add another node
//Creating and setting the properties
//of the panel's component (panels and textfields)
Name = new JLabel("Name");
Name.setForeground(Color.black);
m1 = new JLabel("Mark1");
m1.setForeground(Color.black);
w1 = new JLabel("Weigth1");
w1.setForeground(Color.black);
m2= new JLabel("Mark2");
m2.setForeground(Color.black);
w2 = new JLabel("Weight2");
w2.setForeground(Color.black);
NameTF = new JTextField(5);
NameTF.setText("Node");
m1TF = new JTextField(5);
w1TF = new JTextField(5);
m2TF=new JTextField(5);
w2TF=new JTextField(5);
//creating the buttons
JPanel buttonPanel = new JPanel();
AddButton=new JButton("Add Row");
DelButton=new JButton("Delete") ;
buttonPanel.add(AddButton);
buttonPanel.add(DelButton);
//adding the components to the panel
JPanel inputpanel = new JPanel();
inputpanel.add(Name);
inputpanel.add(NameTF);
inputpanel.add(m1);
inputpanel.add(m1TF);
inputpanel.add(w1);
inputpanel.add(w1TF);
inputpanel.add(m2);
inputpanel.add(m2TF);
inputpanel.add(w2TF);
inputpanel.add(w2);
inputpanel.add(AddButton);
inputpanel.add(DelButton);
//creating the panel and setting its properties
JPanel tablepanel = new JPanel();
tablepanel.add(new JScrollPane(jt, JScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED
, JScrollPane.HORIZONTAL_SCROLLBAR_ALWAYS));
getContentPane().add(tablepanel, BorderLayout.CENTER);
getContentPane().add(inputpanel, BorderLayout.SOUTH);
//Method to add row for each new entry
public void addRow()
Vector r=new Vector();
r=createBlankElement();
dtm.addRow(r);
jt.addNotify();
public Vector createBlankElement()
Vector t = new Vector();
t.addElement((String) " ");
t.addElement((String) " ");
t.addElement((String) " ");
t.addElement((String) " ");
t.addElement((String) " ");
return t;
// Method to delete a row from the spreadsheet
void deleteRow(int index)
if(index!=-1) //At least one Row in Table
dtm.removeRow(index);
jt.addNotify();
// Method that adds and deletes rows
// from the table by pressing the
//corresponding buttons
public void actionPerformed(ActionEvent ae){
Float z=new Float (m2TF.getText());
String Name= NameTF.getText();
Float x= new Float(m1TF.getText());
Float y= new Float(w1TF.getText());
Float j=new Float (w2TF.getText());
JFileChooser jfc2 = new JFileChooser();
String newdata[]= {Name,String.valueOf(x),String.valueOf(y),
String.valueOf(z),String.valueOf(j)};
Object source = ae.getSource();
if(ae.getSource() == (JButton)AddButton)
addRow();
if (ae.getSource() ==(JButton) DelButton)
deleteRow(jt.getSelectedRow());
//method to calculate the total mark in the TotalMark column
//that updates the values in every other column
//It takes the values from the column 1,2,3,4
//and changes the value in the column 5
public void tableChanged(TableModelEvent e) {
System.out.println(e.getSource());
if (e.getType() == TableModelEvent.UPDATE)
int row = e.getFirstRow();
int column = e.getColumn();
if (column == 1 || column == 2 ||column == 3 ||column == 4)
TableModel model = jt.getModel();
float q= ((Float)model.getValueAt(row,1)).floatValue();
float w= ((Float)model.getValueAt(row,2)).floatValue();
float t= ((Float)model.getValueAt(row,3)).floatValue();
float r= ((Float)model.getValueAt(row,4)).floatValue();
Float tMark = new Float((q*w+t*r)/(w+r) );
model.setValueAt(tMark, row, 5);
// Which cells are editable.
// It is only necessary to implement this method
// if the table is editable
public boolean isCellEditable(int row, int col)
{ return true; //All cells are editable
public static void main(String[] args) {
NodesTable t=new NodesTable();
}There are too many mistakes in your program. It looks like you are new to java.
Your add and delete row buttons are not working because you haven't registered your action listener with these buttons.
I have modifide your code and now it works fine. Just put some validation code for the textboxes becuase it throws exception when user presses add button without entering anything.
Here is the updated code: Do the diff and u will know my changes
* Created on 03-Aug-2005
* TODO To change the template for this generated file go to
* Window - Preferences - Java - Code Style - Code Templates
* @author Administrator
* TODO To change the template for this generated type comment go to Window -
* Preferences - Java - Code Style - Code Templates
import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JScrollPane;
import javax.swing.JTable;
import javax.swing.JTextField;
import javax.swing.event.TableModelEvent;
import javax.swing.event.TableModelListener;
import javax.swing.table.DefaultTableColumnModel;
import javax.swing.table.DefaultTableModel;
import javax.swing.table.TableColumn;
import javax.swing.table.TableModel;
public class NodesTable extends JFrame implements TableModelListener,
ActionListener {
JTable jt;
DefaultTableColumnModel dtcm;
TableColumn column[] = new TableColumn[100];
DefaultTableModel dtm;
JLabel Name, m1, w1, m2, w2;
JTextField NameTF, m1TF, w1TF, m2TF, w2TF;
String c[] = { "Name", "Assessment1", "Weight1", "Assessment2", "Weight2 ",
"TotalMark" };
float x = 0, y = 0, tMark = 0, z = 0;
float j = 0;
int i;
JButton DelButton;
JButton AddButton;
JScrollPane scrollPane;
JPanel mainPanel, buttonPanel;
JFrame frame;
public NodesTable() {
super("Student Marking Spreadsheet");
this.AddNodesintoTable();
setSize(400, 250);
setVisible(true);
public void AddNodesintoTable() {
// Create a vector object and load them with the data
// to be placed on each row of the table
dtm = new DefaultTableModel(c,0);
dtm.addTableModelListener(this);
jt = new JTable(dtm) {
// The Cost is not editable
public boolean isCellEditable(int row, int column) {
int modelColumn = convertColumnIndexToModel(column);
return (modelColumn == 5) ? false : true;
//****************************User Input**************************
//Add another node
//Creating and setting the properties
//of the panel's component (panels and textfields)
Name = new JLabel("Name");
Name.setForeground(Color.black);
m1 = new JLabel("Mark1");
m1.setForeground(Color.black);
w1 = new JLabel("Weigth1");
w1.setForeground(Color.black);
m2 = new JLabel("Mark2");
m2.setForeground(Color.black);
w2 = new JLabel("Weight2");
w2.setForeground(Color.black);
NameTF = new JTextField(5);
NameTF.setText("Node");
m1TF = new JTextField(5);
w1TF = new JTextField(5);
m2TF = new JTextField(5);
w2TF = new JTextField(5);
//creating the buttons
JPanel buttonPanel = new JPanel();
AddButton = new JButton("Add Row");
AddButton.addActionListener(this);
DelButton = new JButton("Delete");
DelButton.addActionListener(this);
buttonPanel.add(AddButton);
buttonPanel.add(DelButton);
//adding the components to the panel
JPanel inputpanel = new JPanel();
inputpanel.add(Name);
inputpanel.add(NameTF);
inputpanel.add(m1);
inputpanel.add(m1TF);
inputpanel.add(w1);
inputpanel.add(w1TF);
inputpanel.add(m2);
inputpanel.add(m2TF);
inputpanel.add(w2TF);
inputpanel.add(w2);
inputpanel.add(AddButton);
inputpanel.add(DelButton);
//creating the panel and setting its properties
JPanel tablepanel = new JPanel();
tablepanel.add(new JScrollPane(jt,
JScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED,
JScrollPane.HORIZONTAL_SCROLLBAR_ALWAYS));
getContentPane().add(tablepanel, BorderLayout.CENTER);
getContentPane().add(inputpanel, BorderLayout.SOUTH);
//Method to add row for each new entry
public void addRow() {
Float z = new Float(m2TF.getText());
String Name = NameTF.getText();
Float x = new Float(m1TF.getText());
Float y = new Float(w1TF.getText());
Float j = new Float(w2TF.getText());
String newdata[] = { Name, String.valueOf(x), String.valueOf(y),
String.valueOf(z), String.valueOf(j) };
dtm.addRow(newdata);
// Method to delete a row from the spreadsheet
void deleteRow(int index) {
if (index != -1) //At least one Row in Table
dtm.removeRow(index);
jt.addNotify();
// Method that adds and deletes rows
// from the table by pressing the
//corresponding buttons
public void actionPerformed(ActionEvent ae) {
Object source = ae.getSource();
if (ae.getSource() == (JButton) AddButton) {
addRow();
if (ae.getSource() == (JButton) DelButton) {
deleteRow(jt.getSelectedRow());
//method to calculate the total mark in the TotalMark column
//that updates the values in every other column
//It takes the values from the column 1,2,3,4
//and changes the value in the column 5
public void tableChanged(TableModelEvent e) {
System.out.println(e.getSource());
//if (e.getType() == TableModelEvent.UPDATE) {
int row = e.getFirstRow();
int column = e.getColumn();
if (column == 1 || column == 2 || column == 3 || column == 4) {
TableModel model = jt.getModel();
float q = (new Float(model.getValueAt(row, 1).toString())).floatValue();
float w = (new Float(model.getValueAt(row, 2).toString())).floatValue();
float t = (new Float(model.getValueAt(row, 3).toString())).floatValue();
float r = (new Float(model.getValueAt(row, 4).toString())).floatValue();
Float tMark = new Float((q * w + t * r) / (w + r));
model.setValueAt(tMark, row, 5);
// Which cells are editable.
// It is only necessary to implement this method
// if the table is editable
public boolean isCellEditable(int row, int col) {
return true; //All cells are editable
public static void main(String[] args) {
NodesTable t = new NodesTable();
} -
URGENT! text/SMS/iMessage problem
I am in UK and I am using my iPhone 4S IOS 5.1 to text my girlfriend who is visiting Finland
She has a 3Gs with IOS 5.1.
Problem is she is receiving those messages sent as texts (green) but NOT those messages sent as iMessages (blue)
They seem to change format randomly. I don't get to choose the format.
Is there a way I can make sure every message is sent as a text? (not an iMessage)
thanks
PeteThank you Allan
Pete
Maybe you are looking for
-
Free of charge with internal tax (not to customer)
Hi, I have a problem with the case of free of charge items. I have order OR and item category TANN. I need for legal requirements to book the VAT for that item internally and not to the customer. Can anyone help on that? Thank you!
-
I think I might have a rather unusual issue. The problem is that my Macbook Pro (Lion osx) is not able to connect wirelessly to my Photosmart B109n. I can only connect via the usb cable. I am sharing the printer with two other laptop users(both windo
-
Dynamic PL/SQL A maximum of 15 columns can be selected
Hi, We are currently using Apex 3.0 but are scheduled for an upgrade to 4 soon. I need to develop a report where you can select the a number of field names from a shuttle item, then you would click on a button and a report would be generated with 10
-
How to set JAVA_HOME and ANT_HOME in OSX 10.9.5
Hi recently we moved to 10.9.5 and i dnt see .profile file at home. can you please let me know how to set up JAVA_HOME and ANT_HOME when ever i set those at termanil with export commands . those are getting vanished after closing the terminal. pls le
-
Some missing components in Encore
After downloading Creative Cloud and paying the monthly fee , I downloaded Premier Pro (with Encore),AE and PS. When I'm in Encore all of the buttons,images,backgrounds,layer sets,text items,shapes and replacement layers are missing. The Library item