ALV Weddynpro : Text color for a row(for a particular record)
Hello Friends,
Situation : Webdynpro App utilizing re-usable ALV component to Edit(changed/modify) Employee records.
I have used to the class cl_salv_wd_uie_a_input to make certain columns read_only and colored(cell background only).
My requirement :
Suppose there are 4 rows and based on if a certain condition is staisfied(lets say 2 rows), then i have to changed the color ONLY THE TEXT(to RED). There is certain meaning for the rows for such records which users can easily interpret.
I have tried to used CL_SALV_WD_UIE_TEXT_VIEW(which i have successfully color coded the texts), but i lose the editing capabilities.
The webdynpro App uses a EDITABLE-ALV meaning that, user can insert/modify/delete records and save them in the DB.
Is there anyway to have both this features using above said situations and consequences?
OR
Pls share any workaround if anyone has tried this before?
Regards
Vinay.
Example.
PERNR
COL1
COL2
102984
UYYER
IIIELX
102983
DFKLJJ
DOFUOU
102985
DOFJDOFU
DFOIUOIU
102988
DFOADSFUOU
OSDUFOU
Hi,
We can assign semantic colors only to text view fields. So in this case since you are forcibly changing the view to text view, for text coloring, we are losing the edit fields capabilities. Instead setting the type of field( text view / input view ) based on the your condition could be best, so that editing capabilities is also not missed and text coloring is also not missed.
Or you can set all fields to input fields and set the read only/edit property based on the condition and set the cell design of the fields accordingly, so that the users can distinguish easily.
Regards,
Harsha
Similar Messages
-
Enable hide/show only for selected rows for table in table
I have an advanced table with a detail table connected by a view link. This adds a "Details" column of Hide/Show links on the left of the table to expand the inner-table for each row of the outer-table. The goal is to have the hide/show in the outer table, only when there is data for the outer row in the detail region.
Normally, hide/show appears for all rows in the outer table.
Thanks!In the processRequest method of the controller execute the query of the Outer table region and check is there any row or not.
If yes then do nothing else hide the bean i.e. hide/show bean. You need to do PPR for this.
Thanks
--Anil -
Help! coloring background one row for 3 seconds in JTable with SwingTimer
Hi, I am struggling with this for the past three days but cannot come up with a solution.
I have a JTable and when i insert a new Row, i want to give that row a backgroundcolor for 3 seconds/ or let it blink for 3 seconds and then let it return to its original background color. While the current row is yellow, i want to insert a new row which also would be yellow for 3 seconds. The previous row would return white earlier than the row after, because that row is inserted earlier.
the problem is, that when i add a new row while the current row is yellow, the new row has the timer of the previous row, which means that the last row inserted will stay yellow for a shirter time, which i do not want.
i want a 3 second bgcolor for everyrow inserted. how can i achieve this ?
My code:
startBlinking() is called when a new row is being added to the JTable
public void startBlinking() throws InterruptedException{
if (timer.isRunning()){
timer.setInitialDelay(2);
timer.start();
----------------------- in another class:
//attributes
Action updateCursorAction = getAction();
Timer timer = new Timer(3000, updateCursorAction);
public Action getAction(){
updateCursorAction = new AbstractAction() {
boolean shouldDraw = false;
public void actionPerformed(ActionEvent e) {
if (shouldDraw =! shouldDraw) {
blinkingYellow();
} else{
blinkingWhite();
timer.stop();
return updateCursorAction;
public void blinkingWhite(){
receiverdata_Table.setRowSelectionInterval(0, 0);
receiverdata_Table.setSelectionBackground(Color.white);
public void blinkingYellow(){
receiverdata_Table.setRowSelectionInterval(0, 0);
receiverdata_Table.setSelectionBackground(Color.YELLOW);
}Cant resist to point out the ease of doing something like this in Swingx <g>
Basically, the way to go is
- install a Highlighter with the visual property/ies you want to use for the highlighting effect
- update its HighlightPredicate (aka: condition for applying the property) as appropriate
Below is a code snippet (as usual runnable as-is in the context of SwingX test support). The candy is, that the exact same highlighting code is re-usable in JXList, JXTree and (probably, should check) JXComboBox
Enjoy
Jeanette
* Created on 17.12.2010
package org.jdesktop.swingx.renderer;
import java.awt.Color;
import java.awt.Component;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import javax.swing.Timer;
import javax.swing.table.DefaultTableModel;
import org.jdesktop.swingx.InteractiveTestCase;
import org.jdesktop.swingx.JXTable;
import org.jdesktop.swingx.decorator.AbstractHighlighter;
import org.jdesktop.swingx.decorator.ColorHighlighter;
import org.jdesktop.swingx.decorator.ComponentAdapter;
import org.jdesktop.swingx.decorator.HighlightPredicate;
public class DynamicHighlighterExperiments extends InteractiveTestCase {
public void interactiveHighlightOnInsert() {
final JXTable table = new JXTable(10, 4);
final ColorHighlighter hl = new ColorHighlighter(HighlightPredicate.NEVER,
Color.YELLOW, null);
table.addHighlighter(hl);
final List<Integer> recentRows = new ArrayList<Integer>();
ActionListener l = new ActionListener() {
@Override
public void actionPerformed(ActionEvent e) {
int insertedRow = table.getModel().getRowCount();
recentRows.add(insertedRow);
((DefaultTableModel) table.getModel()).addRow(new Object[] {insertedRow});
table.scrollRowToVisible(table.convertRowIndexToView(insertedRow));
updateHighlighter(hl, recentRows, insertedRow);
Timer insertTimer = new Timer(500, l);
insertTimer.start();
showWithScrollingInFrame(table, "highlight inserted rows");
protected void updateHighlighter(final AbstractHighlighter hl,
final List<Integer> recentRows, final Integer row) {
hl.setHighlightPredicate(new RowHighlightPredicate(recentRows));
ActionListener l = new ActionListener() {
@Override
public void actionPerformed(ActionEvent e) {
recentRows.remove(row);
hl.setHighlightPredicate(new RowHighlightPredicate(recentRows));
((Timer) e.getSource()).stop();
Timer removeTimer = new Timer(1500, l);
removeTimer.setRepeats(false);
removeTimer.start();
// PENDING JW: move into swingx zoo of predicates
public static class RowHighlightPredicate implements HighlightPredicate {
List<Integer> rows;
public RowHighlightPredicate(Collection<Integer> row) {
rows = new ArrayList<Integer>(row);
@Override
public boolean isHighlighted(Component renderer,
ComponentAdapter adapter) {
int modelRow = adapter.convertRowIndexToModel(adapter.row);
return rows.contains(modelRow);
public static void main(String[] args) {
DynamicHighlighterExperiments test = new DynamicHighlighterExperiments();
try {
test.runInteractiveTests();
} catch (Exception e) {
e.printStackTrace();
} -
ALV to hide the number of rows for a particluar field
hi all ,
in my itab i have data like this
aufnr vbeln
a 1
a 2
a 3
a 4
a 5
in my alv report i just want to display aufnr record 1nce for mutiple vbelns
Can anybody help me with ths ?initially sort ur table.
Then, delete adjacent duplicates by comparing aufnr.
DELETE ADJACENT DUPLICATES FROM itab COMPARING aufnr.
it will display one aufnr for multiple vbeln.
or if ur req is to add up all details of vbeln for ONE aufnr.
then use:
at end of aufnr.
collect itab.
endat.
regards,
Padma -
SQL: delete command for duplicate rows for any particular user
Hello Experts,
I've a table like below, where 'X' is the primary key.
X Y Z
a | p | amit
b | q | amit
c | r | amit
d | p | amit
e | s | amit
f | p | manish
g | t | manish
h | p | akash
Objective:
Find and delete all the rows who has duplicates (for 'Y') for user 'amit'. Here, 'p' is given as an example. We don't know what the actual duplicate value is.
Expected Result:
rows 'a' and 'd' should be deleted
SQL:
===
select Y, count(*) from T where Z='amit'
group by Y
having count(Y) >1
This query works to get the duplicates and the total count.
However, how to delete these rows from actual table is the question. Please note that I need to run this query through a JDBC program.
Thanks,You could try
delete from tableb
where x not in ( select max(s.x)
from tableb s
group by s.y, s.z);The easiest way I've found to build these sort of statements is to write a select first which gives you the records you want ( or not want in this case ). Then to write the delete round that statement.
Edited by: Nigel Ren on 07-May-2011 01:23 -
How can we retrieve all rows following a particular records in a table.
Hi all,
i've to fetch all records following a particular rcord in a table..
for ex. we have 4 rows :
col1 col2 col3
A A1 A2
B B1 B2
C C1 C2
D D1 D2
How can i retrieve rows following B record. plz. help me
Thx.It depends what you mean by "following". Tables don't have an innate ordering. If you selected all the rows from this table they wouldn't necessarily turn up in that order.
All you can do is create a query ordering by one or more of the columns (in this case you appear to want lexical order) and then select on the basis that the column values exceed a set of values.
For example, with your data this happens to work:
select * from yourtable where col1 > 'B' order by co1;But I very much doubt that this is what you actually need to do, and it is VERY important that you grasp that tables do not have any innate ordering. -
To display color for the rows in alv
hi,
i want to add colors to all rows.for that i have declared an extra field in st_ekpo i.e ' line_color(4) type c '.And in layout i passed it like this' wa_layout-info_fieldname = 'line_color' .
and finally i populated like this
loop at it_ekpo into wa_ekpo.
wa_ekpo-line_color = 'C410'.
modify it_ekpo from wa_ekpo.
endloop.
but its not working.
to add colors to all rows wat r the modifications i have to do.
regards,
pavan.hi,
try like this
TABLES: ekko.
TYPE-POOLS: slis. "ALV Declarations
*Data Declaration
TYPES: BEGIN OF t_ekko,
ebeln TYPE ekpo-ebeln,
ebelp TYPE ekpo-ebelp,
statu TYPE ekpo-statu,
aedat TYPE ekpo-aedat,
matnr TYPE ekpo-matnr,
menge TYPE ekpo-menge,
meins TYPE ekpo-meins,
netpr TYPE ekpo-netpr,
peinh TYPE ekpo-peinh,
line_color(4) TYPE c, "Used to store row color attributes
END OF t_ekko.
DATA: it_ekko TYPE STANDARD TABLE OF t_ekko INITIAL SIZE 0,
wa_ekko TYPE t_ekko.
*ALV data declarations
DATA: fieldcatalog TYPE slis_t_fieldcat_alv WITH HEADER LINE,
gd_tab_group TYPE slis_t_sp_group_alv,
gd_layout TYPE slis_layout_alv,
gd_repid LIKE sy-repid.
*Start-of-selection.
START-OF-SELECTION.
PERFORM data_retrieval.
PERFORM build_fieldcatalog.
PERFORM build_layout.
PERFORM display_alv_report.
*& Form BUILD_FIELDCATALOG
Build Fieldcatalog for ALV Report
FORM build_fieldcatalog.
fieldcatalog-fieldname = 'EBELN'.
fieldcatalog-seltext_m = 'Purchase Order'.
fieldcatalog-col_pos = 0.
fieldcatalog-outputlen = 10.
APPEND fieldcatalog TO fieldcatalog.
CLEAR fieldcatalog.
fieldcatalog-fieldname = 'EBELP'.
fieldcatalog-seltext_m = 'PO Item'.
fieldcatalog-col_pos = 1.
APPEND fieldcatalog TO fieldcatalog.
CLEAR fieldcatalog.
fieldcatalog-fieldname = 'STATU'.
fieldcatalog-seltext_m = 'Status'.
fieldcatalog-col_pos = 2.
APPEND fieldcatalog TO fieldcatalog.
CLEAR fieldcatalog.
fieldcatalog-fieldname = 'AEDAT'.
fieldcatalog-seltext_m = 'Item change date'.
fieldcatalog-col_pos = 3.
APPEND fieldcatalog TO fieldcatalog.
CLEAR fieldcatalog.
fieldcatalog-fieldname = 'MATNR'.
fieldcatalog-seltext_m = 'Material Number'.
fieldcatalog-col_pos = 4.
APPEND fieldcatalog TO fieldcatalog.
CLEAR fieldcatalog.
fieldcatalog-fieldname = 'MENGE'.
fieldcatalog-seltext_m = 'PO quantity'.
fieldcatalog-col_pos = 5.
APPEND fieldcatalog TO fieldcatalog.
CLEAR fieldcatalog.
fieldcatalog-fieldname = 'MEINS'.
fieldcatalog-seltext_m = 'Order Unit'.
fieldcatalog-col_pos = 6.
APPEND fieldcatalog TO fieldcatalog.
CLEAR fieldcatalog.
fieldcatalog-fieldname = 'NETPR'.
fieldcatalog-seltext_m = 'Net Price'.
fieldcatalog-col_pos = 7.
fieldcatalog-outputlen = 15.
fieldcatalog-datatype = 'CURR'.
APPEND fieldcatalog TO fieldcatalog.
CLEAR fieldcatalog.
fieldcatalog-fieldname = 'PEINH'.
fieldcatalog-seltext_m = 'Price Unit'.
fieldcatalog-col_pos = 8.
APPEND fieldcatalog TO fieldcatalog.
CLEAR fieldcatalog.
ENDFORM. " BUILD_FIELDCATALOG
*& Form BUILD_LAYOUT
Build layout for ALV grid report
FORM build_layout.
gd_layout-no_input = 'X'.
gd_layout-colwidth_optimize = 'X'.
gd_layout-info_fieldname = 'LINE_COLOR'.
ENDFORM. " BUILD_LAYOUT
*& Form DISPLAY_ALV_REPORT
Display report using ALV grid
FORM display_alv_report.
gd_repid = sy-repid.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_callback_program = gd_repid
is_layout = gd_layout
it_fieldcat = fieldcatalog[]
i_save = 'X'
TABLES
t_outtab = it_ekko
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. " DISPLAY_ALV_REPORT
*& Form DATA_RETRIEVAL
Retrieve data form EKPO table and populate itab it_ekko
FORM data_retrieval.
DATA: ld_color(1) TYPE c.
SELECT ebeln ebelp statu aedat matnr menge meins netpr peinh
UP TO 10 ROWS
FROM ekpo
INTO TABLE it_ekko.
*Populate field with color attributes
LOOP AT it_ekko INTO wa_ekko.
Populate color variable with colour properties
Char 1 = C (This is a color property)
Char 2 = 3 (Color codes: 1 - 7)
Char 3 = Intensified on/off ( 1 or 0 )
Char 4 = Inverse display on/off ( 1 or 0 )
i.e. wa_ekko-line_color = 'C410'
ld_color = ld_color + 1.
Only 7 colours so need to reset color value
IF ld_color = 8.
ld_color = 1.
ENDIF.
CONCATENATE 'C' ld_color '10' INTO wa_ekko-line_color.
wa_ekko-line_color = 'C410'.
MODIFY it_ekko FROM wa_ekko.
ENDLOOP.
ENDFORM. " DATA_RETRIEVAL
gd_layout-info_fieldname = 'LINE_COLOR'.
u must write LINE_COLOR in uppercase....
reward if useful...
Edited by: Dhwani shah on Jan 8, 2008 10:12 AM -
Please help with an sql to show more than one records into single row for each student
From the following data I would like to create an sql to get the information as the following layout
studentid, firstTerm, EnglishMark1,ScienceMark1,MathsMark1, Secondterm,EnglishMark2,ScienceMark2,MathsMark2,
ThirdTerm,EnglishMark3,ScienceMark3,MathsMark3 // As single rows for each student
Example
1 First, 30,40,20,Sec,30,40,20, simillarly next row for next row for another sudent. Please help to generate the sql for the same.
Please help it would be very appreciate.
With Thanks
Pol
polachancreate table yourdata (studentid int, term varchar(10), section varchar(50), Mark int)
insert into yourdata values
(1,'First','Math',20),(1,'First','English',30),(1,'First','Science',40),
(2,'First','Math',20),(2,'First','English',30),(2,'First','Science',40),
(3,'First','Math',20),(3,'First','English',30),(3,'First','Science',40),
(1,'Sec','Math',20),(1,'Sec','English',30),(1,'Sec','Science',40),
(2,'Sec','Math',20),(2,'Sec','English',30),(2,'Sec','Science',40),
(3,'Sec','Math',20),(3,'Sec','English',30),(3,'Sec','Science',40)
Select studentid
,max(case when term='First' and section='English' Then Mark End) as EnglishMark1
,max(case when term='First' and section='Science' Then Mark End) as ScienceMark1
,max(case when term='First' and section='Math' Then Mark End) as MathMark1
,max(case when term='Sec' and section='English' Then Mark End) as EnglishMark2
,max(case when term='Sec' and section='Science' Then Mark End) as ScienceMark2
,max(case when term='Sec' and section='Math' Then Mark End) as MathMark2
,max(case when term='Third' and section='English' Then Mark End) as EnglishMark3
,max(case when term='Third' and section='Science' Then Mark End) as ScienceMark3
,max(case when term='Third' and section='Math' Then Mark End) as MathMark3
From yourdata
Group by studentid
drop table yourdata -
hi ,
i need help on the below scenario ,
we have a web dynpro table with different columns, now based on new business requirement one of the column need to
dynamically editable or non editable for different row.
for ex :
Field 1
Field 2 ( Dynamic field )
Field 3
Field 4
Data 11
Data 12 ( Editable with Drop down )
data 13
data 14
Data 21
Data 22 ( Non editable )
Data 23
data 24
Data 31
data 32 ( Editable with drop down )
data 33
data 34
how to achieve this ? please help on this.
Thanks in advance
Thanks
ManishManish,
there is no proper way to insert two Cell Editors in a column(except variants), have a look on below scenario, it may help.
add one more attribute to your table context node for read-only.
create dropDown as celleditor for table and bind with newly created attribute to read-only property of dropdown.
before binding data to table, check the condition then mention readonly value abap_true / false.
@ we can achieve by the use of Variants.
for ex :
Data 11
Data 12 ( Editable with Drop down)
data 13
read-only - abap_false
Data 21
Data 22 ( Non editable, dropdown )
Data 23
read-only - abap_true
Data 31
data 32 ( Editable with drop down )
data 33
read-only - abap_false -
How to change a color for a row in ALV grid display
Hi,
how to change a color for a row in ALV grid display based on a condition.Any sample code plzHello Ramya,
Did you check in [SCN|How to color a row of alv grid]
Thanks! -
How to display total in alv only for single row
Hello,
I wish to replace VAT field in my ALV OUTPUT from another ITAB using READ TABLE. But in ALV output I have multiple rows for one document number.
So the value is assigning to all the rows in output, is it possible to assign that VAT value to only one row ( to any one record from output with corresponding document number) .
Thanks in advance.
Regards,
Ritesh InamdarHi Sudeesh,
I am fetching data for PO details, GR details along with condition types of PO.
All data is collected in ALV OUTPUT itab, after this I am trying to assign the values of VAT from another itab in ALV OUTPUT LOOP using READ TABLE with reference to PO-PO_ITEM-CONDITION_TYPE.
Now, when the alv loop is getting executed and in that I am fetching data for VAT using READ statement, the program is assigning VAT to all records of output alv with comparison of PO-PO_ITEM-CONDITION_TYPE.
see:
LOOP AT it_alv ASSIGNING <fs-alv>.
READ TABLE it_vat ASSIGNING <fs-vat>
WITH KEY ebeln = <fs-alv>-ebeln
posnr = <fs-alv>-posnr
kschl = 'JVCS'.
IF sy-subrc = 0.
<fs-alv>-vat = <fs-vat>-kbetr / 10.
<fs-alv>-vat_val = <<fs-alv>-vat * it_alv-menge.
END IF.
END LOOP.
Please refer above.
Thanks.
Ritesh -
Display one or more rows for a particular column in alv grid display
Hi,
My requirement in the report is to display users for a particular workitem id.If a workitem is in the inbox of one or more users(approvers) i have to display all the user names in one field in alv grid output (output-approver id).There are other fields which display details of the workitem also.
Is there a way to populate multiple rows for a single column or creating one more internal table for users in the alv output table.
Please suggest.
regards,
Sravanthi ChilalALV only can show flat internal table data.
you should set a sort on the field which you want to show only once.
Then on the output of the ALV, the field with the same value will show only once. -
Conditionally Color a row based on the Day of the Week for that row ?
Hi,
I have a Table containing some timing entries for each day. I have been trying to format some rows depending on a value in one of the columns for that row. What I would like to achieve is color the cell background gray for every row where the Date found in the first Column isn't a Week Day.
I have been trying many things by now, but can't seem to figure it out. Does anyone have suggestions ? I have included a screenshot of what I would like to achieve :
Thanks a lot in advance,
Stefaan
Message was edited by: Stefaan LesageVariations on my post linked in Badunit's message here:
You'll need a second table with one column and as many rows as Table 1 (which contains the dates).
The formula for Table 2 assumes the dates are in column B of Table 1.
=OR(WEEKDAY(Table 1::B)=1,WEEKDAY(Table 1::B)=7)
Enter the formula in the same row as the first data row in Table 1, and Fill it down.
Rule for conditional formatting for all cells in Table 2: Equals TRUE
Other instructions as in the linked message.
Regards,
Barry -
Can I create a keyboard shortcut for changing text colors in Mail?
When composing an email in Mail (v5.2), I often have the need to change the text of a few words to red to highlight them (e.g. names of people assigned to an action item) but want to do it via keyboard shortcut. I know I can do the following:
Press Command-Shift-C brings up to Colors panel
Choose the color (e.g. Red) with my mouse
Type the text
Choose the color (e.g. back to Black) with my mouse
Continue typing text
And that's if I want the color panel to stay visible (add at least 3 more steps all together if I close it in the interim).
I've tried using keyboard shortcuts to assign a color (couldn't find the right menu path) and Automator to create a script (the color panel always has to be in the right location which it may not be). None of those techniques work.
It's an annoyance more than anything else but I imagine it should be possible.
Thanks for any assistance!
JohnNot only is this very possible, it's also very easy. You can do this not just for Quark but for any application in OS X. To accomplish what you want, do the following:
* Firstly, quit QuarkXPress completely. The rest of the steps won't work if it is still running.
* Go to the Apple menu and select System Preferences.
* Click the Keyboard & Mouse System Preference Pane
* Click Keyboard Shortcuts
* Click the + button to add a new shortcut.
* Select QuarkXPress as the application.
* In the Menu Title field type "Place Name" exactly like that but without the quotes.
* Click inside the Shortcut field and type the key combination you want to use for this shortcut. I suggest using Command + one of the F keys, like Command+F1.
* Click Add.
* Close System Preferences
* Run Quark, open a document, and try it out!
Robert -
I don't want a new row for each line of text
I have exported a pdf document which is a table full of text in columns (by month). The conversion seems to react randomly so that in some places several lines of text in a column are converted to just one cell (great, just what I want) and then in others, a block of text gets split into a row for each line of text --- very annoying ...
What would make this happen? Is there a workaround so that you can tell the conversion how to react to blocks of text?
hope someone can helpFor optimal export the PDF needs to be a well-formed tagged PDF.
The basic PDF page content has no format, styling, rows, columns, etc.
Just objects painted to the PDF page at a specified location.
You can return to the authoring file, clean that up to support accessible PDF output, then post process the PDF with Acrobat XI Pro to finalize making the PDF PDF/UA compliant. Export of that would be better.
You can manually tag the PDF such that it is PDF/UA compliant than export from that . This would provide you better export.
You can clean up the export you already have.
Be well...
Maybe you are looking for
-
It pops up randomly and won't let me click out of it. I'm certain it's malware or something like that, but I can't seem to stop it from happening. Below is a page that I'm directed to each time. I think all this started from me clicking on someone's
-
Hollywood Dazzle and Firewire Hub killed FCP
I made the mistake of running DV devices through a FW hub into the same port on my PowerPC G5 and now FCP 5 won't open at all. I've unplugged everything and reinstalled FCP to no avail. How can I fix my problem? System Profiler says my FW ports are s
-
Hit Counter button not appearing when I upload the web site.
I am using iWeb version 3.0.4 on OS 10.6.8, and on the Welcome page, I added the Hit Counter button. When I upload the web site, the Hit Counter button does not appear. Anyone have any solutions as to why it isn't appearing? Thanks... Peggy Hinsma
-
Hello How can I insert into XMLTYPE View ? Thanks for any help...
-
Creating screenshot without using BufferedImage?
Hi all java gurus! I'm almost wrecked by searching for a solution for the following problem: I have a JPanel with some graphs and text on it, drawn by paint(...) method. So far so good. Now I want to print this panel. No problem, as long as I print t