How to change width of separating lines of cells
Could u explain me how can I do to make the lines into jTable less wide.
Thanks a lot.
Could u explain me how can I do to make the lines into jTable less wide.The lines between the rows and columns are only 1 pixel wide so I'm not sure how you make them smaller. You can prevent the painting of the lines by using:
table.setShowGrid(false);
table.setIntercellSpacing(new Dimension(0, 0));
Similar Messages
-
How to change column heading in line item report
Hello Experts,
How to change the column heading in the line item report CJI4 or CJI3 ?
for eg: The field WBS will show as Object in the heading. Here I would like to change to WBS.
Is there a way to do this without changing ABAP code
FATMANNot possible through standard I guess.
Enhancement you should be looking is COOMEP01 which includes the component EXIT_SAPLKAEP_009
i.e., Line Item Reports: Customer-specific Formatting of the Lists.You use this enhancement to modify column headings.
Regards
Sreenivas -
How to change data symbol color - line charts
In the keynote manual to change the color of lines they say you have to the graphic inspector and change the color of the line there, but that does not change the color of the data symbol (circle, triangle,...) How to change its color ?
thanksThe internal part of the dot can be changed simply by dragging a color from the Color Picker onto the dot or triangle.
You can do the same to change the color of the line.
I can find no way of actually changing the outer part of the data symbol.
The User Guide seems to not mention the subject at all. -
How to change color of a line on a graph
Bonjour à tous,
I want to change the color of line in a graphic, but i dont know how to do.
Thanks for your answer
Ivanchange the Color Scheme on Chart Attributes page to Custom then put a comma seperated list of colors in the Custom Colors text area of Chart Attributes of your chart. For example, if you have 2 line series in the chart then you could put db15db,DD0000 in Custom Colors text area
DD0000 is actually a color in hexadeccimal number format
FFFFFF stands for white and 000000 stands for black. You also get to pick colors from a color picker in Chart Attributes page
Regards,
Vishal
Oracle APEX 4.2 Reporting | Packt Publishing
Vishal's blog -
How to change default decimal separator
Hi,
what is the problem with the code below ? The output is 1234.5 however, I need it to be 1234,5
String itemFormat="%4.1f";
Double x = 1234.5;
Locale dl = Locale.getDefault();
DecimalFormatSymbols dfs = new DecimalFormatSymbols(dl);
dfs.setDecimalSeparator(',');
System.out.println(String.format(dl, itemFormat, x));It is testing code, however I need to use % formating, and I need to use String.format function.
So, my question is - how to change the locale for String.format function ?
Edited by: woowoo2 on May 15, 2008 7:38 AMwoowoo2 wrote:
but I think, this is not very smooth solution... I am not what about the diffrences between the current user locale and the French locale. It would be best to change actual user locale... but I wonder if this is possible...I think the java runtime determines the locale it is in by querying the operating system. This becomes the "default" locale. So if the machine knows where it is, so will the java runtime, and doing getDefaultLocale() should work seamlessly. -
How to change width of cell in Excel using LabVIEW 5.1
Enable program to change width of cell in Excel 97 file using LabVIEW 5.1.
You must have an automation reference to the workbook or the worksheet. Using Application Control pallette find the Property and Invode nodes and wire up the following, cascading the output of each node into the reference of the next:
Start with worksheet reference
Invoke Range
Property Entirecolumn
Property Columnwidth
Change Columnwidth to write and wire in the numeric value in pixels.
Michael
[email protected]
http://www.abcdefirm.com
Michael Munroe, ABCDEF
Certified LabVIEW Developer, MCP
Find and fix bad VI Properties with Property Inspector -
How to change width columns in web layout?
hello,
I have problem with change width columns in web. I can change width column in paper layout and is ok but If I run web layout I get one column very wide and second thin. I cant find where I may this change
I find that is no easy. If you want change property in web layout you must edit JSP file, and you must know Java/JSP/HTML, and library reposrts JSP custom tag and reports xhtml tags.
regards
Edited by: user515960 on 2010-07-11 04:23Hi,
Please refer the below reference which may guide to configure the properties in search result webpart.
http://technet.microsoft.com/en-us/library/gg549987(v=office.15).aspx
If its not helping you please let us know.
Sekar - Our life is short, so help others to grow
Whenever you see a reply and if you think is helpful, click "Vote As Helpful"! And whenever
you see a reply being an answer to the question of the thread, click "Mark As Answer -
How do I delete bookmark "separator" lines?
I want to eliminate all of the separator lines in my bookmarks. I'd love them to go away.
Thank You :-) and enjoy 2015
-
How to change the background color of a cell in datagrid using flex3
i want to change the background color of a cell.....how can i achieve this.....and also i want to know how a spacing cane be done between cells in a datagrid...plzzz help me???
The only way I can see to do this is to use an item renderer for your cells. This is really scruffy and would need tyding up, and maybe with a little more time could do better or someone else may have an idea but none the less this works.
Define a custom component as below;
This has logic to see what the value of the data is proveided by the dataprovider for the row, and if it matches the conditions in this case is equal to 5 sets the background color.
<?xml version="1.0" encoding="utf-8"?>
<mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml" width="88" height="26" dataChange="doColor()" borderColor="#000000" borderStyle="solid"
backgroundAlpha="1">
<mx:Script>
<![CDATA[
private function doColor():void {
if (data.value == 5) {
setStyle('backgroundColor', 0xcccccc);
} else {
setStyle('backgroundColor', 0xffffff);
]]>
</mx:Script>
</mx:Canvas>
Now just apply the item renderer in the datagrid and that will do it.
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" xmlns:ns1="*">
<mx:Script>
<![CDATA[
import mx.collections.ArrayCollection;
[Bindable]
private var ac:ArrayCollection = new ArrayCollection([
{value : 1},
{value : 2},
{value : 3},
{value : 4},
{value : 5},
{value : 6},
{value : 7},
{value : 8},
{value : 9},
{value : 10}
]]>
</mx:Script>
<mx:DataGrid x="40" y="36" width="408" height="193" dataProvider="{ac}">
<mx:columns>
<mx:DataGridColumn headerText="Column 1" dataField="value" itemRenderer="MyComp"/>
<mx:DataGridColumn headerText="Column 2" dataField="col2"/>
<mx:DataGridColumn headerText="Column 3" dataField="col3"/>
</mx:columns>
</mx:DataGrid>
</mx:Application>
I hope this helps
Andrew -
How to change the Background color of a cell in JTable
hi!
Actually i want to change the background color of few cells in JTable
is there any method to make this change in JTable ?
and also is it possible to have 5 rows with single column and 5 rows with 3 columns in a single JTablei want to change the background color of few cells in JTableDepending on your requirements for the coloring of cells it may be easier to override the prepareRenderer() method of JTable:
http://forum.java.sun.com/thread.jspa?forumID=57&threadID=610474 -
Change width in draw line for LabVIEW 6.1
Hi
as I couldn't solve the problem up to now I'm posting this question again with the hint that I'm looking for a solution in LabVIEW 6.1. LV 7 has already a SetPen.vi where the style and the width can be chosen.
Link to the other posting
Original Text:
HI!
I wanted to draw thicker lines in a picture control in LabVIEW 6.1. I found some posts where they mentioned that I have to edit the according VIs. So I played a bit around but didn't get it working. I'll attach pictures of the diagrams of "SetPen.vi","DrawLine.vi" and "Draw
MultipleLines.vi". Can anybody tell me what to change or provide a suitable vi? Is there a tutorial where the code and the generation thereof for picture controls is explained?"Andy,
The format and specifications for the picture data type and unfortunately not published for public use. The supportability of the picture data type only extends to the functionality provided in the corresponding VI�s shipped with LabVIEW. You are welcome to play around with how it works, but know that it is not supported. I hope this does not provide too much of an inconvenience.
Have a great day!
Robert Mortensen
Applications Engineer
National Instruments
Robert Mortensen
Software Engineer
National Instruments -
Report Painter: How to change the order of lines in selection screen
Dear Gurus on Report Painter,
how can I change the order of the lines (where the values for the variable selection of my cost center report are entered) in the selection screen of a report painter report? The Selection screen looks awful.
Is there also a possibility to add another description to each line of the selection screen?
Thank you very much for your advice.
Best regards TimoI am afraid you have much choice in choosing the order of the selection parameters. However, with the developer's access you may.
This is how!
Step 1: If it is a standard report, copy to your own report. and assign it to a report group. and execute.
Step 2: When you execute, and the selection appears, go to systems>status and here , copy the program name (it may look something like GP46LP6VEDORBSA2IHWYSR4TL58020)
Step3: Go to SE38 and enter the above derived program name with a view to re-arrange the line withing the program, with reference to selection parameters.
For example: I have a selection screen in the following order:
Controlling area
Fiscal Year
From period
To period
Plan version
Cost center group
Or value(s)
Cost element group
Or value(s)
The corresponding program that drives this order is in the program and would look like this,
SELECTION-SCREEN BEGIN OF BLOCK VALUE_SELECTION
WITH FRAME TITLE TEXT-003.
<b> PARAMETERS: $1KOKRE LIKE CCR1S-KOKRS .
PARAMETERS: %1KOKRE LIKE CCR1S-KOKRS MODIF ID IN4.</b>
<b><i> for controlling area</i></b>
PARAMETERS: $1GJAHR LIKE COSP-GJAHR .
PARAMETERS: %1GJAHR LIKE COSP-GJAHR MODIF ID IN4.
<b><i> for fiscal year</i></b>
PARAMETERS: $1PERIV LIKE COSP-PERBL .
PARAMETERS: %1PERIV LIKE COSP-PERBL MODIF ID IN4.
<b><i> for period from</i></b>
PARAMETERS: $1PERIB LIKE COSP-PERBL .
PARAMETERS: %1PERIB LIKE COSP-PERBL MODIF ID IN4.
<b><i> for period to</i></b>
etc.
PARAMETERS: $1VERP LIKE COSP-VERSN .
PARAMETERS: %1VERP LIKE COSP-VERSN MODIF ID IN4.
PARAMETERS: $1VALUTP LIKE CCR1S-VALUTYP MODIF ID IN4 .
PARAMETERS: %1VALUTP LIKE CCR1S-VALUTYP MODIF ID IN4.
SELECTION-SCREEN END OF BLOCK VALUE_SELECTION.
......... set variables ..............................................
SELECTION-SCREEN BEGIN OF BLOCK SET_SELECTION
WITH FRAME TITLE TEXT-004.
PARAMETERS: $1KOSET LIKE RKSB1-KSGRU.
PARAMETERS: %1KOSET LIKE RGSBS-SETNR MODIF ID IN5.
SELECT-OPTIONS _1KOSET FOR CCR1S-KOSTL .
PARAMETERS: $1KSTAR LIKE RKSB1-KAGRU.
PARAMETERS: %1KSTAR LIKE RGSBS-SETNR MODIF ID IN5.
SELECT-OPTIONS _1KSTAR FOR CCR1Z-KSTAR .
SELECTION-SCREEN END OF BLOCK SET_SELECTION.<i></i><b></b>
If you want fiscal year to appear first, you try just copying the coding relating to fiscal year just above the coding for Controlling area.
Extend the same logic for what you may want to get. -
How to change marker size in line graphs
Hello,
I'm using line graph and i show markers for the user know where to see a tooltip. I observed that the line markers are very big and clutter my graph when points are very close one anothers. I would like to make them smaller, but I don't know how to do it.
Any help is appreciated.
Thanks,
Plan.
<dvt:lineGraph ...>
<dvt:seriesSet markerDisplayed="true">
</dvt:seriesSet>
</dvt:lineGraph>>System Preference>General
this will change text size and associated icon size. -
How to change width of table maintenance screen in sm30
Hi,
I want to change the width of table maintenance screen in sm30 of a view. I am trying to change it through screen painter.
But its giving me error - screen or window limit reached. I want to increase the widht to show all the fields at once.
Is there any way for this?
Also, earlier in table maintenance generator of view, there was one step selected. I changed it to two steps and re-generated the TMG. But again Its showing only one screen in sm30.
Kindly tell me which step I have missed out.
Regards,
Seema NahariaI guess the links below should help in your problem ..
http://www.saptechies.com/how-to-create-table-maintenance-generator/
Window size on SM30
If these do not please tell ..
Regards,
Manthan -
How to change width of columns in a JTable component?
I created JTable1 by dragging from DataControls. I tried to change column width by changing of EntityObject - Width. But it doesn't work. I tried to do it In table binding editor - it doesn't work too.
Help pls.Hello Megadown,
This is how you can change the width:
TableColumn column = jTable1.getColumnModel().getColumn(0);
column.setPreferredWidth(100);
Regards
Johan
Maybe you are looking for
-
What will happen when i restore iphone 5 to a new one
i wanna know if it deleted or forget my number if i restore it or will it be the same (i have no sim card)
-
hi, i don´t know in wich table is store the deliver date of each product in a purchase order. Could anybody help me?
-
Changing form display to right to left
Hi all i've created a UDO form thourgh the UDO Form Generator. problem is i want the contols to appear from right to left instead of left to right. do i have to set the controls manuly through the xml file. or is there another way. i tried using scre
-
I am having problems wirh iCloud document sync. I am wondering if it has anything to do with have FileVault 2 switched on on one of my MacBooks (and not on the others) or whether it is a network problem. Most of the time I am connected to the intern
-
JUmbled text in Safari, and it runs off the page and behind images
i have a really annoying problem that is only happening in Safari under every user on my computer. I have been to the Apple store and they have tried to fix it, but it perplexed everyone there I guess, either that or the fact that it was 8:30 and the