Cell border when editing
If I click a cell that is in an editing session I am getting a blue border that sometimes is missing either a left side or right side. But if I use a tab to go from one cell to another then the border is shown properly.
Any idea what that mignt be?
Thanks
Quote:is this known behaviour that will be patched in the future
no, never heard of that before. create a ticket and i will see if i can find a solution.
Similar Messages
-
How do I get Integer in JTable cell to be selected when edit using keyboard
I have some cells in a JTable, when I double-click on the cell to edit it the current value (if any) is selected and is replaced by any value I enter, which is the behaviour I want. But when I use the keyboard to navigate to the cell and start editing, new values are added to the end of the current value which is not what I want.
I have created my own IntegerCellEditor (see below) and added a focus event or the textfield used when editing to select all the current text but it has no effect, any ideas please ?
public class IntegerCellEditor extends DefaultCellEditor
public IntegerCellEditor( JTextField textfield )
super( textfield );
//Ensure old value is always selected, when start editing
((JTextField)getComponent()).addFocusListener(new FocusAdapter()
public void focusGained(FocusEvent fe){
((JTextField)getComponent()).selectAll();
((JTextField)getComponent()).setHorizontalAlignment(JTextField.RIGHT);
* Return as Integer (because delegate converts values to Strings).
public Object getCellEditorValue()
return Integer.valueOf((String)delegate.getCellEditorValue());
}But when I use the keyboard to navigate to the cell and start editing,
new values are added to the end of the current value which is not what I want.How does the use know that typing will replace the text and not append? Usually if text is to be deleted, it is highlighted to give the user a visual cue.
Here is a renderer that does this, in case your interested:
http://forum.java.sun.com/thread.jspa?forumID=57&threadID=752727 -
How can i clear all the data in a cell of a JTable when i select this cell? By default, when i edit a cell and type the new data is add to the previus data, but i want have only the new data.
You should be able to extend DefaultCellEditor (or similar) to clear the text in the text field when editing starts.
Either look at the source for the default table cell editor or the Swing tutorial for more information on table cell editors.
Hope this helps. -
Cell border not appearing in Adobe forms
Hi,
We Placed a button in internal table cell and itu2019s property is set to invisible.
This button is set to visible based on value of other column value in the same row of table.
But border for the cell is not coming when button is invisible.
Note: the button size is equal to cell size and so when we make the button invisible ,the cell border itself is not appearing as the whole cell is invsible.
How make the cell border visible even the button in that cell is invisible.
Please put your suggestions in this regard.
Regards,
Kranti Yamparala.Hi Kiran,
Please go through the below link:
http://help.sap.com/saphelp_nw70/helpdata/en/45/2dbb13d79f3446e10000000a155369/frameset.htm
Here the method to hide the toolbar is given. Try passing ABAP_FALSE in method: lr_method_handler->set_hide_toolbars( abap_false ) if it works.
Regards,
Vaibhav -
I would like to use different Line Weights on spreadsheet cell borders, but no matter what Line Weight I choose from the Accents window, I always get (both visually and printed) the same Line Weight (hairline?) when I set a cell border. Am I missing something?
I didn't enter the system details because the problem appeared on all the (different) systems I tried: iBook G4 (OS X 10.3.8), iMac G4 (OS X 10.3.9), iMac G5 (OS X 10.4.?), AppleWorks 6.2.7 and 6.2.9. I understand the need in general, but since this problem persisted across all these platforms, I thought that it would either be a well-known usage problem or bug (even though my best efforts could find no mention of it).
Thanks for your response.
Pete -
Table view column cell Focusing while editing.
I have a table view with single column. I have defined custom cell factory for this column. When the table renders, a text value is shown for each cell in that column. When the user start editing the cells , then the contents of the cell changes and it shows 2 buttons, few check boxes and few radio buttons. Once the user selects his choice and clicks on a button inside the cell, the cell's editing is completed and cell's content is replaced with a plain text field.
Now while editing if the user clicks on any other cell, the current editing cell's cancel method is called and text field is show. However, if the user clicks mouse outside the table, the cell is still in editing state.
1) how to call the cancel editing method automatically here.
2) Also, if we try to associate with focus property, how to do it. i.e. on which component should I associate focused property since the cell now is replaced with a bunch of components.
3) If the user tries to use up or down arrow, then how to stop or start editing on the next cells.
Thanks.Have you assigned an action to the CheckBox.onSelect event? If not, there is no server roundtrip triggered and the visibility is not updated.
I would create two context attributes "ColumnsVisible" (boolean) and calculated attribute "ColumnsVisibility" (Visibility), assign an empty action to the CheckBox.onSelect event, bind CheckBox.checked to "ColumnsVisible", TableColumn.visible to "ColumnsVisibility" and implement the calc. attribute getter as
WDVisibility getColumnsVisibility(...)
return element.getVisible() ? WDVisibility.VISIBLE : WDVisibility.NONE;
Armin -
Although isCellEditable with tablemodel the cell is still editable - why?
I want a table where no cells are editable.
My tablemodel extends AbstractTableModel.
I've seen that isCellEditable() is the right method to provide this.
But even if I implement it, the cells are still editable. Why?
Here are some code snippets - and I hope this is enough to provide a rough information:
public class Main extends JFrame {
private DefaultTableModel playerModel = new DefaultTableModel();
static public void main(String args[]) {
private void preparePlayerTable() {
jtbPlayers.setModel(playerModel);
Players players = new Players();
playerColumns = players.getColumnNames(); //Spaltennamen holen
playerModel.setColumnIdentifiers(playerColumns);
public class Players extends AbstractTableModel() {
public Players() {
public boolean isCellEditable (int row, int column) {
return false;
One of my questions is: when is isCellEditable been called??
I've seen examples where this method has been implemented without a call.
(eg. Java Online Tutorial - ../uiswing/components/table.html)
Is it really enough to implement it or do I have to explicitely call it?
I don't get this. Maybe someone who knows can help me, thank you.
NickYour table model is a DefaultTableModel:private DefaultTableModel playerModel = new DefaultTableModel();
// code skipped here
jtbPlayers.setModel(playerModel);Just writing a class Players that would prevent editing is not enough, you actually have to use an instance of it as the table model of your JTable. -
Cell border with categories not possible?
Several tables in my worksheet. Those without categories... I can format cell borders. Those with categories, no way. Can't select cell borders or apply line effects to a manually-selected cell border. Is there a workaround?
You are right. I also discoverd that .NET has an implementation for this. Well, I hate to resort to .NET but have no choice.
-
How to get clips to appear in good quality when editing?
I worked with PE over a decade ago when I had a PC. In 2008 I migrated to Apple -- specifcally desktop Intel duo-processor Mac, OS X Snow Lion 10.6.8. So regretably I was forced to leave PE behind and begin using Final Cut Express 4.0.1. Recently I bought a new HD camera so I thought it was a good time to return to PE 11 since the program is now being made for Macs too. (I had missed the Organizer tremendously!) Before working with my new camera however, I could not resist importing some old standard definition clips into a timeline to play around with. Well they look horrible in the viewer -- all pixelated and poor quality! I selected the clips, pressed render and nothing happened. I am used to automatic rendering when editing in FCE so that what you see in the viewer is what you get, of course unless you run into compression issues later on. But I need to see what I'm editing and can't do that with this poor quality. So what is the problem? The clips are all in .mp4 or .mov format. The .mp4 clips were shot with a Panasonic SDR-H85P in that format and the .mov clip was converted from DV footage on a tape recorded with a Canon ZR900.
Also, I am used to seeing and working on a minutia level -- sometimes frame by frame with a "blade" tool in FCE. I switched to expert view but still can't tell where 1 frame ends and another begins. Is there an easy way to do that?
Thanks!Thank you for your helpful answer. Regarding frame view, I found the options you indicated. However, I think my issue has more to do with "timeline view" if you will. For example, in Final Cut, you could press "option +" several times to "lengthen" the timeline which in turn would "stretch" out each frame to an extent necessary to make really precise edits on a minutia scale. Then in order to "compress" it so you could see the entire timeline on the computer screen, pressing "option -" several times would bring it back down to that size which was handy for seeing exactly where all your other effects on other timelines were arranged. Does that make sense? Is there a way to do that in PE 11? It's zooming in and out of the timeline essentially in order to see more of the detail while editing.
Regarding the poor quality of playback, I was able to correct the problem by setting the playback settings to "highest." That was a relief. Also the clip properties did match the project properties, but if I had wanted to change project properties, I don't think I could have because so many of the options remained blanked out or unavailable -- all light in color not allowing me to access them. Don't know what the term for that is but you probably know what I mean. So does that mean that project properties are always automatically determined or must they be preset somehow? Any direction on that issue would be helpfui because I also work with infrared clips a lot from a Bushnell camcorder and often combine those with regular video clips. What is going to happen then? Again, thanks so much for your help! -
Illustrator CC 17.1.0 running on MacBook Pro i7 OSX 10.9.5 - crashes when editing preferences, user interface. Also crashes when quitting application. Anybody any ideas?
While 2 GB is the absolute minimum to install Mavericks, if you want to do anything with the Mac you need more then that. Upgrade your RAM.
Until you upgrade the RAM seriously consider shutting down the Mac nightly. You should also seriously review the items in the User Login Items to see if there are any there that you really don't need to have startup with your login to reduce the amount of RAM you are using. -
Photoshop CS2 crashes when editing photo on Mac OS 10.6.8
Photoshop CS2 crashes when editing photo on Mac OS 10.6.8.
What is the problem? I worked fine before.Provide the exact crash info and explain, what you are actually trying to do when the crash occurs. What tool or feature do you use? What kind of image are you working on?
Working with your Operating System’s Tools
Mylenium -
Is there a plug-in to see Action Safe or TV Safe when editing?
I've shot some HD widescreen footage which has the boom microphone creeping into frame but I can't tell when editing if its going to be seen in the final cut. Apart from hoping for the best, is there a plug-in to help this problem or another solution - apart from reshooting....?
alexanderb47 wrote:
.. is there a plug-in to help this problem or another solution - apart from reshooting....?
search the usual suspects ..
geethree.com
imovieplugins.com
stupendous-software.com
.. for a 'zoom' plug-in.. adding a slight zoom could 'push' the mic outside the frame.. but, zooming video means allways a (dramatic) loss in pic quality.. just test it ... -
When editing an image in Photoshop from Lightroom then saving it back to Lightroom, how do i get the image to go back and sit next to the original image? Mine is going back to the end of the folder. Thanks Karen
Hi Karen
You may the sort set to Custom. Click the dropdown menu on the toolbar (to the right of the word sort) and change to capture time.
If you can’t see the toolbar above the filmstrip press the T key. Press T again to hide. -
up to now I had no problem when editing photos with photoshop elements 9. Due to an unknown reason/event the colours displayed , now, are not correct : it looks like the gama adjustment has been changed and the photo rendition is uncorrect. If I display the same photos with other photo editing software ( DPP from Canon for example, or Xnview) , the colours are correct !!... Can you help me ?
Thanks a lot !
JJ EtienneThank you for trying to help me. In fact, I resolved my problem by changing the default ICC profile for my screen : I entered the parameters settings panel, screen definition and then advanced settings where I could choose another ICC profile.
Thank you anway !!
JJ -
Photoshop Elements 12 Editor Crashes When Editing Raw
Hi --
Consistently when I'm editing RAW files (Canon T2) the Elements Editor 12 crashes. To repro:
1) I'll select 5-8 photos in the Organizer.
2) Right click and "Edit with PS Editor"
3) RAW importer/editor (not sure if that's the official name, but it's the screen when I can make minor edits and white balance)
4) Select all images and open.
5) Initially they'll all open in the full PSE Editor, but after editing a few the editor will hang and suddenly wierd things happen:
a) the "after" version of the photo is a grey and white checkerboard. If I go back to the "before" version, it looks fine
b) the close file "x" button in the top right is disabled (just get a beep), but if I go under "file" and "close" in the menu, the file will close.
c) I can't close the application itself.via the "X" button or "Exit". I need to logout or manually go into task manager and kill the process.
I have a fairly new PC with vanilla installation of Windows 8.1.
Any suggestions?Update -- still having this problem but not it seems to happen when editing JPEG as well. I'm not sure how to repro it as it doesn't happen every time, but sometime between the 2nd and 10th photo that I try to edit the editor crashes right after I save or "save as". I hear a system bing and then the editor becomes non-responsive. I can "close' the file via the menu (not via the "x" button in the top right), but no other functionality works. Can't close the editor other than by shutting down or manually killing via Task Manager.
Incredibly frustrating. I'm thinking about uninstalling/reinstalling but am worried about losing all of the data in the catalog (~15k photos). I'm thinking about just writing the metadata to the files (most have it already) and manually copying the catalog files.
Anyone else have this problem and/or suggestions on how to address it?
Thanks much
Maybe you are looking for
-
How to tell if a dead Ipad is charging
I have used all the battery in my Ipad so it is at 0% now I need it to charge but I can't tell on the screen whether it is charging or not...
-
Over heating on charge and it is no longer showing anything on the screen
My iPhone 5 is over heating on charge and it is no longer showing anything on the screen. I was using it when the screen went white and it hasn't worked since. I have tried to both restart it and to restore it. as the screen doesn't not work it is ha
-
I updated the itunes but it does not want to sync with my iphone?
I updated the iTunes to the latest version on my computer three days ago and till now when I connect my iPhone for synchronization, it shows nothing and the iPhone act as just charging!!!! What shall I do now?!
-
Creating .mat files with Matlab dataplugin in LabVIEW
I am trying to create a .mat file in LabVIEW using the Matlab dataplugin. It appears to create a group called "Vector" without being told to, and it also concatenates group and channel names together. I have made an example to demonstrate this behavi
-
Has anyone. Tried to return their iPad yet?
If anyone has returned their iPad yet can you let us know what Apple had to say? Did they charge you a restocking fee? Thanks