Change of Jtable feature select in 1.5?
I have a JTable Object, with 12 columns and 32 rows.
when the user want to populate the first eight rows there is no problem, they begin ant the rown 0 column 0, But when the user want to capture only from the 9 to 16 row, they select those range, but until the version 1.4.2, the cursos was positioned in the first row&colum selected.
But after jdk 1.5.x, the cursor focus focus is in the last row&column selected..
How can I make that the first position select get the focus in the JTable?
In other worksheet have this feature, fouc son the first colun&row selected.
why Java change it?
Please help me out.
The problem is not how to select an interval.
The problem is the position of the cursor when finalizing the selection of an interval.
In the versions prior at the 1.5 was positioned at the beginning of the selection and not to end.
But since version 1.5, the focus on the table have the last position selected.
Look the excel feature or another worksheet, and the focus always is the first cell selected.
Thnaks
Similar Messages
-
How can you change your line access selection? I have found where you can change your plan selection, but can you change the line access fee or is that a set amount?
DIVAB71,
Great question. The line access fees for the account are a set amount and can not be changed unless you are going from a basic to a smartphone or vice versa. If you are wondering about adding the month to month discount if you are out of contract Ann154 has provided great information on how to access and add the feature.
LindseyT_VZW
Follow us on Twitter @VZWSupport -
How to set special rows in jtable not selectable
Hello programmers,
anybody knows how to set special rows(p.E. row 0) in jtable not selectable.
in advance thanks for your answerstable = new JTable(...)
public void changeSelection(int row, int column, boolean toggle, boolean extend)
if (row == 0)
return;
else
super.changeSelection(row, column, toggle, extend);
}; -
How do I change the default '/' shortcut (select 'none' in colour swatch) to something different? Where can i find it in Keyboard Shortcuts?
Any ideas?Thanks so much )))))))
-
Change from Parameter to Select-options.
Hi All,
Requirement is to change the existing program.
One of my requirement is to change parameter(P_VKORG) to Select-options(S_VKORG).
I mean earlier we have only one Slaes Organization, now we have got to use multiple Sales organizations. For this requirement I have used select-options insted of Parmeters.
But the code has:
a)PERFORMS using Parameters( P_VKORG). This inturn is used in the select statement of the FORM-ENDFORM.
b)READ statement also has P_VKORG in where condition.
How should these be replaced with Select-options(S_VKORG)?
What would be the effect if I directly replace them with S_VKORG.
Kalyani Tyou cannot just directly replace with S_VKORG.
select option is a structure with 4 fields, sign, option, low and high, hence it has to be dealt accordingly.
a. performs has to be changed to 'tables S_VKORG'
eg. perform get_data tables s_vkorg.
b. read statement has to be modified to deal with multiple values. best option will be to select for data in s_vkorg, and save in an internal table.
for eg, if select option was for vkorg,
select vkorg from tvko into t_tvko where vkorg in s_vkorg.
now t_tvko has list of possible vkorgs - regardless of we had a range or ne or gt or CP or whatever we had in select option.
now modify the read table to do for entries in T_TVKO.
c. in the select statement which is used in forms, wherever you see ' = P_vkorg' , replace with IN S_VKORG. -
To change Default Setting of Selection Screen while Filtering on infoobject
Dear Guru's,
I just want to know where can I change the Deafult Setting from 100 to 500 which we get in the Selection Screen when we want to Filter on Info-Object level in the Workbook.
Hope this will clear the question , incase any further information required please let me know.
Many thanks.Hi Kasi,
Please do not post the same question twice. You can see my reply at:
Re: To change Default Setting of Selection Screen while Filtering on infoobject -
How to change date format in select-option (mm.yyyy).
Hi,
Plz, How to change date format in select-option (mm.yyyy).
in my selection screen date type selection-option is there ,when i am enter date it's taken dd.mm.yyyy format,but i want mm.yyyy format.
how to set that .
Regards,
Kk.sorry
parameters : pmonyr type spmon or
select-options : sspmon for PGPL-spmon .
or what table ccontains spmon.
regards
shiba dutta -
2008 R2 upgrade to SQL 2012 validation error - No Features Selected
I need a work-around for a known bug. Some features of Server 2008 R2 Enterprise install an instance of SQL Server. I'm attempting to upgrade the in-place instance to SQL 2012 Express. After selecting 'Upgrade', it returns this error:
Upgrade to SQL Server 2012
There are validation errors on this page. Click OK to close this dialog box. Review errors at the bottom of the setup page, then provide valid parameters or click Help for more information.
There are no features selected for upgrade.
In researching, I find this is a known problem in which the hotfix is available in a cumulative update. The 2419 build updates the released 2100 build. My problem now is that applying the cumulative update requires that SQL 2012 already be installed.
What is the correct procedure for upgrading the in-place SQL instance to 2012 SQL Express?
Beware of unmoderated moderators in the Expression Web forums.One of us is confused.... likely me. The SQL currently installed is the built-in SQL of Windows Server 2008 R2 Enterprise. It is not SQL Enterprise. I understand it to be a limited variation called SSEE, SQL Server Embedded Edition.
I believe the installation of this variation can be triggered by installing IIS or WSUS. The instance name is Microsoft##SSEE.
Nevertheless, there must be a proper way to install SQL 2012 Express, migrate, and uninstall the Windows Internal Database SQL 2005. Where can I find the correct procedure for upgrading the in-place SQL instance to 2012 SQL Express?
Hi backup,
According to your description, I recommend you install SQL Server 2012 Express directly. Before installing, you should note the
hardware and software requirements, for example, you need to download and install Microsoft .Net Framework 3.5 SP1 and Windows Installer 4.5.
There is a process of installing SQL Server 2012 Express, you can review it.
http://www.jsinh.in/2012/09/install-sql-server-2012-express-step-by-step/
Thanks,
Sofiya Li
Sofiya Li
TechNet Community Support -
Changing text in a selection drop down
Hi all,
Does anyone know how to change the text(not value) that is displayed in a single line selection drop down box from a javascript function.?
ie.
<select name="companyMenu" size="1" >
<option value=" ">Want to change this text</option>
</select>
regards
JKits ok, found the answer.
simply place an id in the option tag and refer to the innerText.
ie
<select name="companyMenu" size="1" onchange=whatever(this.form);>
<option id="commonText" value="">Want to change this text</option>
and for the function
function whatever(f) {
commonText.innerText = "happy";
which replaces "Want to change this text" with "happy"
cheers
JK -
BPC NW 10.0 - Data Manager Prompt changing from SELECTINPUT to SELECT cleared values
Dear BPC Experts,
We recently went from SP13 patch 4 to SP19 patch 1. When we made changes in the PROMPT values in the Data Manager Organize>Package>Modify Script>PROMPT, we experienced different behavior switching from SELECTINPUT to SELECT in our development system than we did in our production environment. In development, when we changed the value from SELECTINPUT to SELECT, the values entered for Variable name such as %SELECTION% in Property1 and "Select the members to CLEAR" in Property2, and %DIMS% remained. However, when we changed from SELECTINPUT to SELECT in production system, the values for Variable Names and Properties were cleared out. Does anyone know why in our developmet system values were kept but not in our production system during this type of activity? I would like to understand the two different behaviors and what controlled it. We prefer not to have the values for Properties clear.
Thank you in advance for your assistance.
Kind regards,
LisaHi Vadim,
Excellent point, I should have included images as that likely would have shown this odd behavior.
When I made the changes in our development system to a package to switch from SELECTINPUT to SELECT the values outlined in the image below were retained for Varialbe Name, Property 2, and Property 3 after we applied the SP19 patch 1.
When I made the same change in our system to a package in our production system after we applied the SP19 patch 1, the values for Varialbe Name, Property 2, and Property 3 were cleared per the image below. The odd thing is that initially it looked like the values stayed. It was only after you saved and went back in did you see that the values were gone.
Any help in understanding this behavior change would be greatly appreciated.
Thank you,
Lisa -
Upgrade to ECC 6 - Changes in ABAP Features
Hi Fiiends,
Dear friends we are in process to Upgrade from version 4.7 to ECC6.
Can someone please help me with documentation about
changes in ABAP features ar any new features available in
ECC6
I have seen that there are ABAP debugger screen has totally
changes.
Thanks and Regards,
Gauravdiff between 4.7 to ECC 6.0 abap
main diffeences between SAP 4.7 and ECC 6.0 versions ?
diff between 4.6c to 4.7 abap
difference between SAP 4.6C and SAP ECC6.0
There is lot difference between 4.6c and 6.0
1) ecc 6.0 coming with inbuild webdynpro , BSP it is not 4.6c
2) In ecc we have interactive forms concept where it was not there in 4.6c
3) 4.6c there is no unicode concept here we have unicode and non unicode
ECC->enterprise central component.ECC 6.0 is the advanced version.if we consider in technical point of view then i can give u one example.
In the new version we have enhancement points and enhancement sections along with enhancemnts and BADI'S.SAP has provided these ,so that without going for access keys we can write our code in the enhancement points along with Standard SAP code.So now SAP has provided more user friendly environment.Also a new DEBUGGER also arrived with the new version.Now we can see more things in the new er version of DEBUGGER.
Few tables have been modified in ECC6.0.
Tables TVARV & TTREX have been replaced by TVARVC & TTREXN respectively.
Regards. -
Change the Parameter as Select option
Hi Guy's,
Please help me friends, present requirement is like this : change the Parameter into Select-Option.
Here they are using one function module, this function module import parameter taking single value, how loop this function module with in this select-option.
PARAMETERS p_fictr LIKE fmfctr-fictr.
START-OF-SELECTION.
Move the select options to internal tables (import parameter for fn)
move_sel_option : sel_buk s_bukrs ,
sel_pern s_pernr ,
sreinr s_reinr ,
spdatv s_pdatv ,
sberei s_berei .
Call the function to get all trips corresponding to sel criteria
CALL FUNCTION 'ZHR_GET_FUND_TRIPS'
EXPORTING
p_fictr = p_fictr
p_sub = p_sub
TABLES
s_bukrs = s_bukrs
s_pernr = s_pernr
s_reinr = s_reinr
s_pdatv = s_pdatv
s_berei = s_berei
i_trip = i_trip
EXCEPTIONS
OTHERS = 1.
Thanks and Regards,
Saihi,
You can first the field values using the select statement and then loop that internal table and pass the values to the function module.
try this
*PARAMETERS p_fictr LIKE fmfctr-fictr.
select-options: s_fictr for fmfctr-fictr.
START-OF-SELECTION.
Move the select options to internal tables (import parameter for fn)
move_sel_option : sel_buk s_bukrs ,
sel_pern s_pernr ,
sreinr s_reinr ,
spdatv s_pdatv ,
sberei s_berei .
select fictr
from fmfctr
into tabel itab
where fictr in s_fictr.
loop at itab.
Call the function to get all trips corresponding to sel criteria
CALL FUNCTION 'ZHR_GET_FUND_TRIPS'
EXPORTING
*p_fictr = p_fictr
p_fictr = itab-fictr
p_sub = p_sub
TABLES
s_bukrs = s_bukrs
s_pernr = s_pernr
s_reinr = s_reinr
s_pdatv = s_pdatv
s_berei = s_berei
i_trip = i_trip
EXCEPTIONS
OTHERS = 1.
endloop.
regards,
Veeresh -
Revision: 10868
Author: [email protected]
Date: 2009-10-05 11:05:50 -0700 (Mon, 05 Oct 2009)
Log Message:
change default value of selectable in ASDoc comment to true
QE notes: -
Doc notes: -
Bugs: -
Reviewer: -
Tests run: - checkintests
Is noteworthy for integration: No
Modified Paths:
flex/sdk/branches/3.x/frameworks/projects/framework/src/mx/controls/TextArea.asThank you much for your response.
I tried that and it did work. But my requirement is to have a user input the date. The basic idea is if the user decides on a predefined time range like Day Shift Today or Yesterday and so on... then the report would automatically calculate the values based on predefined date time values. On the other hand, if the intent is to run the report for an arbitrary period then the user supplies the date and time limits.
What I am trying to achieve is have the same parameter available for user input , but when the User decides he wants Predefined then the "textbox" populates with date and time as per his choice of predefind range.
I understand that by this the user can still overwrite the date and time on the text box, but the report will run the predefined values as long as he has the @PredefinedDateSelection Set to true.
Is there a way I can impement this?
Once again I thank you and appreciate your input. -
Hi. I've added a new page to my iWeb '08 version 2.0.4 website, but can't seem to select the top menu items to make a rollover color change. I can select them on the original pages. What am I forgetting to do?
Old Toad has a tutorial about changing the colors in the iWeb default menu...
http://oldtoadstutorials.net/No.24.html
If you want your website to be found by search engines you would be better to follow Ethmoid's suggestion of creating your own navigation...
http://www.iwebformusicians.com/iWeb/Navigation.html -
Hi,
I'm new to Java, I'm writing a simple application using Swing, I've almost finished, almost, becose I have a jTabbedPane on 1st pane some labels and text fields, and on the second one jTable, I have to do 2 things:
When row in JTable is selected, then the same user data should bevisible in JTabbedPane/Panel1 and if I select someon in panel1 then also the person in the jTable should be selected, what should I do? What's the function name? Please help.http://java.sun.com/docs/books/tutorial/uiswing/events/eventsandcomponents.html
Maybe you are looking for
-
How can I buy an original box for my iMac to send it to a university?
I need an original box to ship my iMac to a university where I will be teaching next semester. Where can I buy the proper box?
-
Upgrade from 10.1.0.5 to 10.2.0.4 oracle RAC with ASM
Hi , I have to upgrade rac database from 10.1.0.5 to 10.2.0.4.Please let me know the best way to upgrade using ASM.If you will give a brief steps which has been used for real upgrade then it will be a great help. (1)Can we upgrade 10.1.0.5 crs softwa
-
Ribbon disabled on Publishing Pages in SharePoint 2013
When using a blank web part page in a Pages Library (Publishing Feature actived), the ribbon is disabled for a document web part on the page. After adding the document web part and saving the page, I click in the document web part to activate the rib
-
Trouble with Satellite A205-SP5814
I'm having some trouble with my laptop, it's a Satellite SP-5814, and it freezes sometimes. I installed the factory software from the CD's, and the problem didn't solved at all. Sometimes even can't load de OS, or crashes trying. I'll appreciate any
-
Performance: How to manage large reports with high data volume
Hi everybody, we actually make some tests on our BO server system, to define limitations and oppertunities. Among other things we constructed a large report with a high data volume (about 250.000 data records). When executing the query in SAP Query D