How to view the Updated JTextPane
Hi,
I want to view Updated Text in JTextPane as i am inserting another Text on the basis of Database Search......Now my Text get insert But i can view all the added text together after completion of my all operation instead of to view it as soon as i insert another string....Like TextArea in AWT i can view the Text as soon as i append that text.....But i want the same in the JTextPane.....thank u
Hi,
I am using SwingUtilities.invokeLater() method to update my JTextPane.it is working fine but it is creating number of class files depends upon how many times i am calling SwingUtilities.invokeLater() method....In my application i am calling SwingUtilities.invokeLater() method 5 times so it is creating 5 class files.
So pl let me know the solution to avoid the same.............thnx
Similar Messages
-
How to view the date when the Customers credit limit updated in SAP-FSCM?
How to view the date when the Customers credit limit updated in SAP-FSCM?
OK you can look at field - LIMIT_CHG_DATE in the table - UKMBP_CMS_SGM via SE16
I would assume you would want to run it based on a date range. -
How to View the Scheduler in ODI Console
Hi
In ODI Studio, we may Schedule a Scenario and also, we may view all Schedules process from the Agents (View Schedule option).
My colleagues are going to use ODI Console, but we cannot find out HOW to View the Schedule in ODI Console.
In Oracle documentation about FDMEE, we can read the following: If you want to cancel a specific instance of a schedule, use the ODI Studio or ODI Console... see the PDF document in attachment.
Regards
ClaudeTo display the schedule for one agent:
In Topology Navigator expand the Agents node in the Physical Architecture accordion.
Select the Physical Agent you want to update the schedule.
Right-click and select View Schedule.
The Schedule Editor appears, displaying the schedule for this agent.
Check: http://docs.oracle.com/cd/E17904_01/integrate.1111/e12643/running_executions.htm#ODIDG634
HTH -
Jasmine -
How to display the updated data from db to user interface in sruts framewor
A beginner in this area, I have been able to read a record from a
MySQL database and populate in jsp form . Now, my goal is to
allow the user to edit the contents of the form and then update the
record in MySQL and then display the same in jsp. page
The scenario in detail
1)the data is fetched from db and displayed in non-editable format
2)Next button is clicked
3)Now in the same jsp page I view the same data from db in editable format
4)The user is allowed to change the information
5)Now update button is clicked
6)the records are updated in the db -Finished doing till this step
7)But the updated info in non - editable format to be displayed in jsp page is left pending.
Here is my code for jsp,i want know how to write an action for this,tried doing the same in java and I'm successful.but what I need is how to fetch the updated information in the user interface.
I've made both editable as well as non editable info in the same page with different actions.
pl help me,I'm a newbie
<%@ taglib uri="/WEB-INF/struts-bean" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-html" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-logic" prefix="logic" %>
<%@ page language="java" %>
<%@ page import="java.util.ArrayList,java.util.Iterator" %>
<%@ page import="com.finocus.common.container.CustomerDetailsTest;" %>
<html:html>
<head>
<title>CUSTOMER DISPLAY</title>
</head>
<body>
<table width="100%" bgcolor="darkkhaki">
<tr>
<td><table width="100%" bgcolor="indigo">
<tr>
<td><font color="white">Display</font></td>
<td><font color="white">Update</font></td>
<td><font color="white">Verify</font></td>
<td><font color="white">Confirm</font></td>
</tr>
</table>
</td>
</tr>
<%
//Container for holding data
ArrayList list = (ArrayList)session.getAttribute("CUSTOMERDETAILS");
Iterator itr=list.iterator();
while(itr.hasNext())
CustomerDetailsTest cust = (CustomerDetailsTest) itr.next();
System.out.println("testGetCustomerDetails()-successed. retrieved CustomerDetailsTest="+cust.toString());
%>
<%
//Session for checking whether edit or non-edit mode
String pageMode = (String)session.getAttribute("CUSTOMER_PAGE_MODE");
session.removeAttribute("CUSTOMER_PAGE_MODE");
if(null==pageMode)
pageMode = "EDIT";
if(pageMode.equals("EDIT"))
//display data in the form
System.out.println("Editable mode");
%>
<html:form action="/nonedit">
<tr>
<td><table width="100%" bgcolor="darkkhaki">
<tr>
<td><b><bean:message key="label.id"/></b></td>
<td><font color="red"><%=cust.getCusId()%></font></td>
</tr><br>
<td>
<font color="brown" face="Courier New"><b>
<bean:message key="label.Company"/></b>
</td><br>
<tr>
<td><bean:message key="label.cname"/></td>
<td><font color="blue"><html:text property="name" value="<%=cust.getCname()%>"/></font></td>
<td><bean:message key="label.cphone"/></td>
<td><font color="blue"><html:text property="phone" value="<%=cust.getCphone()%>"/></font></td>
</tr><br>
<tr>
<td><bean:message key="label.caddr1"/></td>
<td><font color="blue"><html:text property="address1" value="<%=cust.getCaddress1()%>"/></font></td>
<td><bean:message key="label.cemail"/></td>
<td><font color="blue"><html:text property="email" value="<%=cust.getCemail()%>"/></font></td>
</tr><br>
<tr>
<td><bean:message key="label.caddr2"/></td>
<td><font color="blue"><html:text property="address2" value="<%=cust.getCaddress2()%>"/></font></td>
<td><bean:message key="label.cfax"/></td>
<td><font color="blue"><html:text property="fax" value="<%=cust.getCfax()%>"/></font></td>
</tr><br>
<tr>
<td><bean:message key="label.ccity"/></td>
<td><font color="blue"><html:text property="city" value="<%=cust.getCcity()%>"/></font></td>
<td><bean:message key="label.czip"/></td>
<td><font color="blue"><html:text property="zip" value="<%=cust.getZip()%>"/></font></td>
</tr><br>
<tr>
<td><b><bean:message key="label.cstate"/></b></td>
<td><font color="red"><html:text property="state" value="<%=cust.getCstate()%>"/></font></td>
</tr><br>
<td>
<font color="brown" face="Courier New"><b>
<bean:message key="label.Admin"/></b>
</td><br>
<tr>
<td><b><bean:message key="label.AAname"/></b></td>
<td><font color="red"><html:text property="adminname" value="<%=cust.getAname()%>"/></font></td>
</tr><br>
<tr>
<td><b><bean:message key="label.AAemail"/></b></td>
<td><font color="red"><html:text property="adminemail" value="<%=cust.getAemail()%>"/></font></td>
</tr><br>
<tr>
<td><b><bean:message key="label.AAphone"/></b></td>
<td><font color="red"><html:text property="adminphone" value="<%=cust.getAphone()%>"/></font></td>
</tr><br>
<td>
<font color="brown" face="Courier New"><b>
<bean:message key="label.User"/></b>
</td><br>
<tr>
<td><b><bean:message key="label.AUname"/></b></td>
<td><font color="red"><html:text property="adminusername" value="<%=cust.getUname()%>"/></font></td>
</tr><br>
<tr>
<td><b><bean:message key="label.AUemail"/></b></td>
<td><font color="red"><html:text property="adminuseremail" value="<%=cust.getUemail()%>"/></font></td>
</tr><br>
<tr align="center">
<td><html:cancel value="Cancel"/>
<html:submit value="Next"/></td>
</tr>
</html:form>
<%
}else
//display data in the text
System.out.println("Non-Editable mode");
%>
<html:form action="/edit">
<tr>
<td><table width="100%" bgcolor="darkkhaki">
<tr>
<td><b><bean:message key="label.id"/></b></td>
<td><font color="red"><%=cust.getCusId()%></font></td>
<td><b><bean:message key="label.status"/></b></td>
<td><font color="red"><%=cust.getStatus() %></font></td>
</tr><br>
<td>
<font color="brown" face="Courier New"><b>
<bean:message key="label.Company"/></b>
</td><br>
<tr>
<td><bean:message key="label.cname"/></td>
<td><font color="blue"><%=cust.getCname()%></font></td>
<td><bean:message key="label.cphone"/></td>
<td><font color="blue"><%=cust.getCphone()%></font></td>
</tr><br>
<tr>
<td><bean:message key="label.caddr1"/></td>
<td><font color="blue"><%=cust.getCaddress1()%></font></td>
<td><bean:message key="label.cemail"/></td>
<td><font color="blue"><%=cust.getCemail()%></font></td>
</tr><br>
<tr>
<td><bean:message key="label.caddr2"/></td>
<td><font color="blue"><%=cust.getCaddress2()%></font></td>
<td><bean:message key="label.cfax"/></td>
<td><font color="blue"><%=cust.getCfax()%></font></td>
</tr><br>
<tr>
<td><bean:message key="label.ccity"/></td>
<td><font color="blue"><%=cust.getCcity()%></font></td>
<td><bean:message key="label.czip"/></td>
<td><font color="blue"><%=cust.getZip()%></font></td>
</tr><br>
<tr>
<td><b><bean:message key="label.cstate"/></b></td>
<td><font color="red"><%=cust.getCstate()%></font></td>
</tr><br>
<td>
<font color="brown" face="Courier New"><b>
<bean:message key="label.Admin"/></b>
</td><br>
<tr>
<td><b><bean:message key="label.AAname"/></b></td>
<td><font color="red"><%=cust.getAname()%></font></td>
</tr><br>
<tr>
<td><b><bean:message key="label.AAemail"/></b></td>
<td><font color="red"><%=cust.getAemail()%></font></td>
</tr><br>
<tr>
<td><b><bean:message key="label.AAphone"/></b></td>
<td><font color="red"><%=cust.getAphone()%></font></td>
</tr><br>
<td>
<font color="brown" face="Courier New"><b>
<bean:message key="label.User"/></b>
</td><br>
<tr>
<td><b><bean:message key="label.AUname"/></b></td>
<td><font color="red"><%=cust.getUname()%></font></td>
</tr><br>
<tr>
<td><b><bean:message key="label.AUemail"/></b></td>
<td><font color="red"><%=cust.getUemail()%></font></td>
</tr><br>
<tr align="center">
<td><html:submit value="Update"/></td>
</tr>
</html:form>
<%
%>
<%
%>
</table>
</td>
</tr>
</table>
</body>
</html:html>u r using action classes. so after calling the insert method in Action Class to a dao... the next statement should be retrieve statement. so at the time of updating first it will get updated.. the next statement it will execute is retrieve and then set these details in VO or FORM and show it on JSP
Message was edited by:
leo_michael -
Viewing the updated date in Address Book
Does anybody know a consistent way to view the "updated date" on an Address Book card if you have lengthy notes for every contact?
In Apple's desire to keep things beautiful instead of functional, they have placed a very light "updated date" status in the lower right-hand corner of each contact card in the Address Book.
However, if you have lengthy notes for that contact, you CAN'T SEE the updated date at all, because the notes obscure the updated date! The ONLY way that we have been able to figure out how to see the updated date is to select all of our notes for the card, CUT the notes to our clipboard, look at the updated date, and then PASTE the notes back into the contact card again.
Ridiculous, right?!
Any ideas on this? ALSO -- while we're on the topic -- does anybody know of a way to show the updated TIME in conjunction with the date?
Thanks,
ScottDoes anybody know a consistent way to view the "updated date" on an Address Book card if you have lengthy notes for every contact?
Other than expanding the size of the Address Book window, there is no way to accomplish that.
does anybody know of a way to show the updated TIME in conjunction with the date?
That cannot be done at the present time, though it's possible that Apple may add that feature or option in the future.
Mulder -
Hi,
I have loaded the data into an ODS from an External Flat file and executed the job. Can anyone guide me how to view the loaded data in the ODS ?
ThanksHi Madhu,
You can simply Goto Transaction LISTCUBE and give the ODS name -> Execute.
Regards
Hemant -
How to view the sql query?
hi,
how to view the sql query formed from the xml structure in the receiver jdbc?You can view SAP Note at
http://service.sap.com/notes
But you require SMP login ID for this which you should get from your company. The content of the notes are as follows:
Reason and Prerequisites
You are looking for additional parameter settings. There are two possible reasons why a feature is available via the "additional parameters" table in the "advanced mode" section of the configuration, but not as documented parameter in the configuration UI itself:
Category 1: The parameter has been introduced for a patch or a SP upgrade where no UI upgrade and/or documentation upgrade was possible. In this case, the parameter will be moved to the UI and the documentation as soon as possible. The parameter in the "additional parameters" table will be deprecated after this move, but still be working. The parameter belongs to the supported adapter functionality and can be used in all, also productive, scenarios.
Category 2. The parameter has been introduced for testing purposes, proof-of-concept scenarios, as workaround or as pre-released functionality. In this case, the parameter may or may not be moved to the UI and documentation, and the functionality may be changed, replaced or removed. For this parameter category there is no guaranteed support and usage in productive scenarios is not supported.
When you want to use a parameter documented here, please be aware to which category it belongs!
Solution
The following list shows all available parameters of category 1 or 2. Please note:
Parameter names are always case-sensitive! Parameter values may be case-sensitive, this is documented for each parameter.
Parameter names and values as documented below must be used always without quotaton marks ("), if not explicitly stated otherwise.
The default value of a parameter is always chosen that it does not change the standard functionality
JDBC Receiver Adapter Parameters
1. Parameter name: "logSQLStatement"
Parameter type: boolean
Parameter value: true for any string value, false only for empty string
Parameter value default: false (empty String)
Available with: SP9
Category: 2
Description:
When implementing a scenario with the JDBC receiver adapter, it may be helpful to see which SQL statement is generated by the JDBC adapter from the XI message content for error analysis. Before SP9, this can only be found in the trace of the JDBC adapter if trace level DEBUG is activated. With SP9, the generated SQL statement will be shown in the details page (audit protocol) of the message monitor for each message directly.
This should be used only during the test phase and not in productive scenarios.
Regards,
Prateek -
How to use the updated value in the same update statement
Hello,
I just wonder how to use the updated new value of other column in the same udpate statement. I am using Oracle 11.2, and want to update the two columns with one update statement as following:
create table tb_test (id number(5), tot number(5), mon_tot number(5));
update tb_test set (tot = 15, mon_tot = tot *15) where id = 1;
...I would like to update both tot and mon_tot column, the value of mon_tot shall be determinted by the new value of tot.
Thanks,
Edited by: 939569 on 1-Feb-2013 7:00 AMEdit: example added
SQL> create table tb_test
2 ( id number(5)
3 , tot number(5)
4 , mon_tot number generated always as (tot*15) virtual
5 );
Table created.
SQL> insert into tb_test (id, tot) values (1, 5);
1 row created.
SQL> select * from tb_test;
ID TOT MON_TOT
1 5 75
1 row selected.
SQL> update tb_test
2 set tot = 15
3 where id = 1;
1 row updated.
SQL> select * from tb_test;
ID TOT MON_TOT
1 15 225
1 row selected. -
How to view the Users in the Portal Activity Report
Hello,
Can anyone tell me how to view the Report of users who have logged in a specific time. For Example I would like to view the users who have logged in between 9.00 am and 9.15 am. Is it possible to view mentioning the country name?
Please explain me in detail how to view the Report.
Thnx in Advance
cheers,
Muralihi,
You can certainly do it for hourly basis but i am not sure whether it could be done quarter an hour basis. Also The portal nodes within a cluster can be in different time zones, yet the activity data from all nodes are aggregated together and reported together. To enable the reporting of hourly data from different time zones, portal activity reports display hourly data based on the GMT time zone.
Do see the documentation
http://help.sap.com/saphelp_nw04/helpdata/en/fb/144120ea5b4e9c9385d493a578d6c9/frameset.htm
Weblog :Portal SP9: Portal Activity Report
Regards,
Ganesh N -
HOw to view the records in a structure qaqee ?
hi every one ,
we can view the tble through SE16
HOw to view the records in a structure qaqee ?
Thanks in advanceHello,
Please check the link
http://help.sap.com/saphelp_erp60_sp/helpdata/EN/90/8d7301b1af11d194f600a0c929b3c3/content.htm
You can view the struture in SE11 t-code for its components.
Regards,
Shailesh -
Missing update for a game app after updating ios7 any ideas how to get the update
Went to update a game app this morning, had already hit update when the i os7 update screen popped went through with the ios update but after ipad restarted the game update is completely missing any ideas how to get the update back no luck so far
Hello THEVIN7
The next step if it is not updating, would be to delete the app and then download it again. Check out the general troubleshooting for apps purchased form the App Store.
iOS: Troubleshooting apps purchased from the App Store
http://support.apple.com/kb/ts1702
Regards,
-Norm G. -
I have an older mac and it wants me to update to itunes 10 but my mac is too old and I cant figure out how to disable the update so I can use the store.
If Software Update is offering the update then it would be compatible with your model. Unfortunately, you haven't provided us with any information on your hardware that would enable us to determine if it really is too old.
If you really wish to disable the update alert then the next time Software Update opens, select the update in the list then select "Ignore update" from SU's Update menu. -
How to view the source code for Native Method
hi
i am using some native methods in to my code ;
can anybody tell me how to view the source code for the same ;
nikBuy/acquire a C/C++/assembly code disassembler and run the shared library through it.
-
How to view the purchase order output
Hi all,
how to view the purchase order output in the transaction me23n?
How to obtain the purchase order output form?
Please help..HI,
goto NACE tcode then select the purchase order type and go to output types u cna use standard one NEU and provide the sapcript name and form name default will be there with MEDRUCK and print program.
then in ME23n click on messages there create ur message type NEU and save it
then print the purchase order...
hope u get solved with this
Regards
Syed A -
How to view the table at the application level
Dear All,
How to view the table in the Data Dictionary at the application level, If a table is created at the database level by using CREATE statement.
code/
create table zmard as select * from sapone.mard where 1 = 2
/code
I would like to view the table above, which is created at the Oracle database level in the Data Dictionary.
can anyone guess the solution.
Best wishes
MaheshHi
U should create a program using SQL native in order to select and show the data.
By SE11 or directly in the program u can define a structure like your table:
DATA: BEGIN OF W_ZMARD,
FIELD,
END OF W_ZMARD.
EXEC.
OPEN CURSO FOR SELECT * FROM ZMARD
ENDEXEC.
DO.
EXEC.
FETCH NEXT CURSOR INTO :W_ZMARD
ENDEXEC.
IF SY-SUBRC <> 0.
EXIT.
ENDIF.
WRITE: / W_ZMARD-FIELD,
ENDDO.
EXEC.
CLOSE CURSOR
ENDEXEC.
I don't know if it's possible to create a view in SE11, because it's needs a table just defined in SE11, u can create a new view ZMARD based on MARD but I don't believe it'll use your table.
Max
Maybe you are looking for
-
Unable to run bapis for project status update and date update together
Hi Experts, I have a requirement to update the dates and status of a project WBS at level 4. I am trying to do update the CJ02 Transaction using standard BAPI available. I need to do both Date update and status update in the same LOOP PASS i am usi
-
Long story short - had to reformat my laptop and lost all my bookmarks and preferences. Could not get Sync to restore from the phone's bookmarks. Backed up phone's firefox profile (Android ICS) to an external SD card. Formatted both phone and compute
-
Delta broken between two DSO ??
Hello, We are on BI 7.0. We have copied our productive system into our develoment system in order to have refresh datas. But since this copy with a big problem in our development system : one DTP on delta is broken between two DSO. I Try to reactivat
-
How to run IE with administrator privileges on limited user account?
Hello, I have a domain user who needs to access a certain web application on the internet using IE and to do so we have to add this website to IE Trusted Sites Zone and also allow Pop-ups, the issue now is that the domain user has a limited account o
-
Best HDMI Cable to use for Thinkpad laptop
The display port is found in Lenovo laptops. If you want to convert to HDMI, you have to use an adapter. The approved adapter is the SIIG displayport to HDMI adapter according to this link. http://forum.lenovo.com/t5/T400-T500-and-newer-T-series/No-a