How to make table in java?
I 'm trying to add some GUI interface, and now i need to insert three table into my JFrame, I'm not sure how to do it, should I create a JPanel first, and add the JTable into it, or just do it directly.
the second question is still about changing the frame, it something like event handling, how to change two windows on the screen when I click a button, I mean, the current wondows should close, and a new one can come out, I know dispose(), and hide()method already, but these two method can't clear the previous windows completely, so the new one come out, but the previous one still there, so, any good way to do it?
Thank you for your excellent suggestion!
Hi
It depends what you are doing! You can add Panel or any container.
e.g.
JTable table = new JTable (4,4);
Container c = getContentPane();
c.add( table, BorderLayout.CENTER);
cheers!!
Similar Messages
-
How to make table in java application?
I am using visual cafe tool for creating the GUI interface, but i don't konw how to construct a table for my game.
thank uin visual cafe there is a table icon on the swing tab. you should be able to just drag and drop it on your interface that you are creating. once on the gui you can set the properties for the table by right clicking with the mouse and choosing 'properties'. hope this helps.
-
How to make table as "editable false"
Dear Forum,
i am user of jDeveloper jClient/Swing .jpr.
cutomer table having following attributes-
1.cust_id (primary key)
2.cust_name
3.cust_add
Suppose customerview bind with jTable1.
Using ViewObjectEditor, i set "updateable never" for all fields.
This show error, when data insert into table " cust_id as
read only".
Help me, Using jClient Binding how to make Table as "editable false".Overriding method prepareEditor() for new table:
private JTable tableList = new JTable(){
public Component prepareEditor(TableCellEditor editor, int row, int column) {
// 1 and 2 column is not editable
if(column == 0 || column == 1){ return null; }
return super.prepareEditor(editor, row, column); -
HOW TO MAKE TABLE CONTROL NON EDITABLE
hi all
how to make table control non editable
Thanks & Regards
harshaHi,
Try this code in the PBO inside the module in the LOOP...ENDLOOP.
IF SY-TCODE EQ 'ZEMPLDISPLAY'.
LOOP AT SCREEN.
if screen-name eq 'column1' or screen-name eq 'column2'. "Give the names of the columns in the table control
SCREEN-INPUT = '0'.
MODIFY SCREEN.
endif.
ENDLOOP.
ENDIF.
Or you can go the Layout of the table control in Change mode and for every column's attributes, make it 'Output' only field. Check 'Output only' field. -
How to make table that will include controls such as drop list?
How to make table that will include controls such as drop list?
I need to create table as Property Browser of ActiveX, that include rows with differnt types such as drop list, color, ...Hi Nadav,
I figured out where I missed your point. When you wrote
table as Property Browser of ActiveX, that include rows with differnt types such as drop list, color, ...
I was thinking mixed data-types in a [2d] table!
Looking at the property browser again it looks like no single LV function can do all of that. It can be developed as a pop-up (like the browser is set-up) and then code all of the elegance using an event structure to control the background color of a string indicator while controling the visability of rings that are only made visable when a mouse down is detected. That will get you pretty close.
So no, my previous response ws not correct for what you are trying to do if you want to duplicate all of the wistles and bells of the property browser pop-up window.
Please forgive my distraction.
Ben
Ben Rayner
I am currently active on.. MainStream Preppers
Rayner's Ridge is under construction -
How to make table have transportable entries
Hi Experts,
how to make table ZFUSTXFACTOR have transportable entries?
Regards,
SaleemHI,
In The se11 menu Utilities-->table maintenance generator-->if u already created table maintenance generator then in the tab DIALOG DATA TRANSFER DETAILS check the radio button STANDARD RECORDING ROUTINE.
Then when ever u save the data in the table it will pop up a screen to create a Transport request.
Thanks,CSR.
***please reward if helpful. -
How to make tables similar to apple site?
Is anyone aware of any tutorials on how to make tables
similar to
http://www.apple.com/support/leopard/
Thanks!Look at the code.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"Mike" <[email protected]> wrote in message
news:[email protected]..
> Is it all CSS? How is it being done? Anyone point me to
some tutorials?
>
> Thanks.
>
> Ken Binney wrote:
>> And then you will discover there are no tables in
that layout.
>>
>>
>>
>>
>> "John T Smith" <[email protected]>
wrote in message
>> news:g0ichc$64f$[email protected]..
>>> While at that site, tell your browser to show
you the code... in IE that
>>> is
>>> click on the View option and select source
>>>
>>> You may also do a File--Save As to save a copy
of the code to your
>>> computer to
>>> view
>>>
>> -
Hi,
Im not expert in Oracle Database especially in querying of data's
My problem is about to be honest i have no idea how to make table format.
We have a problem in our production instance we raised it in Oracle Support but one of the technical support there is asking about this
"I want table data of the corresponding batch. Please take help of you DBA and ensure that you are connected to the correct instance, where you have this issue."
I am only one DBA here in our company and Im still Newbie.
here is the scripts the he want me to run it
select batch_id from gme_batch_header bh, mtl_parameters mp
where batch_no = '115982'
and organization_code = '101'
and bh.organization_id = mp.organization_id;
select *
FROM gme_batch_header
WHERE batch_id in (XXXXXX);
select batch_id, line_type, material_detail_id, inventory_item_id, plan_qty, actual_qty, wip_plan_qty, dtl_um, release_type, phantom_id,
locator_id, material_requirement_date, move_order_line_id, original_primary_qty, subinventory
FROM gme_material_details
WHERE batch_id IN (XXXXXX)
ORDER BY batch_id, line_type, material_detail_id;
SELECT 'MMT' as table_name, t.transaction_id as trans_or_rsrv_id, ty.transaction_type_name, h.batch_status, d.batch_id as batch_id, t.transaction_source_id as trans_or_rsrv_source_id, d.line_type, t.trx_source_line_id as material_detail_id,
t.organization_id, pa.organization_code, t.inventory_item_id, i.segment1 as item_number, t.subinventory_code, t.locator_id, lt.lot_number as lot_number, t.primary_quantity, t.transaction_quantity as trans_or_rsrv_qty, lt.transaction_quantity as lot_qty, t.transaction_uom as trans_or_rsrv_uom, t.secondary_transaction_quantity as sec_qty, t.secondary_uom_code,
to_char(t.transaction_date, 'DD-MON-YYYY HH24:MI:SS') as trans_or_rsrv_date, t.LPN_ID, t.TRANSFER_LPN_ID, t.transaction_mode, NULL as lock_flag, NULL as process_flag
FROM mtl_material_transactions t, gme_material_details d, gme_batch_header h, mtl_transaction_lot_numbers lt,
mtl_lot_numbers lot, mtl_system_items_b i, mtl_transaction_types ty, mtl_parameters pa
WHERE t.transaction_source_type_id = 5
AND h.batch_id in (XXXXXX)
AND t.transaction_source_id = h.batch_id
AND t.organization_id = h.organization_id
AND d.batch_id = h.batch_id
AND d.material_detail_id = t.trx_source_line_id
AND lt.transaction_id(+) = t.transaction_id -- This join allows us to get the lot number
AND lot.lot_number(+) = lt.lot_number -- This join allows us to get lot specific info if needed.
AND lot.organization_id(+) = lt.organization_id
AND lot.inventory_item_id(+) = lt.inventory_item_id
AND t.organization_id = i.organization_id
AND t.inventory_item_id = i.inventory_item_id
AND t.transaction_type_id = ty.transaction_type_id
And t.organization_id = pa.organization_id
UNION ALL
SELECT 'RSRV' as table_name, reservation_id as trans_or_rsrv_id , NULL, h.batch_status, d.batch_id as batch_id,
demand_source_header_id as trans_or_rsrv_source_id, d.line_type, demand_source_line_id as material_detail_id,
r.organization_id, pa.organization_code, r.inventory_item_id, i.segment1 as item_number, r.subinventory_code, r.locator_id, r.lot_number,primary_reservation_quantity, reservation_quantity as trans_or_rsrv_qty, NULL,reservation_uom_code as trans_or_rsrv_uom, secondary_reservation_quantity as sec_qty, r.secondary_uom_code,
to_char(requirement_date, 'DD-MON-YYYY HH24:MI:SS') as trans_or_rsrv_date, LPN_ID, NULL, NULL, NULL, NULL
FROM mtl_reservations r, gme_material_details d, gme_batch_header h, mtl_system_items_b i, mtl_parameters pa
WHERE demand_source_type_id = 5
AND h.batch_id in (XXXXXX)
AND demand_source_header_id = h.batch_id
AND r.organization_id = h.organization_id
AND d.batch_id = h.batch_id
AND d.material_detail_id = demand_source_line_id
AND r.organization_id = i.organization_id
AND r.inventory_item_id = i.inventory_item_id
And r.organization_id = pa.organization_id
UNION ALL
SELECT 'PPL' as table_name, pending_product_lot_id as trans_or_rsrv_id, NULL, h.batch_status, d.batch_id as batch_id, NULL, d.line_type, d.material_detail_id, h.organization_id, pa.organization_code, d.inventory_item_id, i.segment1 as item_number, NULL, NULL, lot_number, NULL, quantity as trans_or_rsrv_qty, NULL, NULL, secondary_quantity as sec_qty, NULL, NULL, NULL, NULL, NULL, NULL, NULL
FROM gme_pending_product_lots p, gme_material_details d, gme_batch_header h, mtl_system_items_b i, mtl_parameters pa
WHERE h.batch_id in (XXXXXX)
AND p.batch_id = h.batch_id
AND d.batch_id = h.batch_id
AND d.material_detail_id = p.material_detail_id
AND h.organization_id = i.organization_id
AND d.inventory_item_id = i.inventory_item_id
And h.organization_id = pa.organization_id
UNION ALL
-- Note that there should not be any transactions in MMTT. If there are, they are usually "stuck" there and
-- need to be processed or deleted
SELECT 'MMTT' as table_name, t.TRANSACTION_TEMP_ID as trans_or_rsrv_id, ty.transaction_type_name, h.batch_status, d.batch_id as batch_id, t.transaction_source_id as trans_or_rsrv_source_id, d.line_type, t.trx_source_line_id as material_detail_id, t.organization_id, pa.organization_code, t.inventory_item_id, i.segment1 as item_number, t.subinventory_code, t.locator_id, lt.lot_number as lot_number, t.primary_quantity, t.transaction_quantity as trans_or_rsrv_qty, lt.transaction_quantity as lot_qty, t.transaction_uom as trans_or_rsrv_uom, t.secondary_transaction_quantity as sec_qty, t.secondary_uom_code, to_char(t.transaction_date, 'DD-MON-YYYY HH24:MI:SS') as trans_or_rsrv_date,t.LPN_ID, t.TRANSFER_LPN_ID, t.transaction_mode, t.lock_flag, t.process_flag
FROM mtl_material_transactions_temp t, gme_material_details d, gme_batch_header h,
mtl_transaction_lots_temp lt, mtl_system_items_b i, mtl_transaction_types ty, mtl_parameters pa --mtl_lot_numbers lot
WHERE t.transaction_source_type_id = 5
AND h.batch_id in (XXXXXX)
AND transaction_source_id = h.batch_id
AND t.organization_id = h.organization_id
AND d.batch_id = h.batch_id
AND d.material_detail_id = trx_source_line_id
AND lt.TRANSACTION_TEMP_ID (+) = t.TRANSACTION_TEMP_ID -- This join allows us to get the lot number
--AND lot.lot_number(+) = lt.lot_number
--AND t.organization_id = lot.organization_id
AND t.organization_id = i.organization_id
AND t.inventory_item_id = i.inventory_item_id
AND t.transaction_type_id = ty.transaction_type_id
And t.organization_id = pa.organization_id
UNION ALL
SELECT 'MTI' as table_name, t.TRANSACTION_INTERFACE_ID as trans_or_rsrv_id, ty.transaction_type_name, h.batch_status, d.batch_id as batch_id, t.transaction_source_id as trans_or_rsrv_source_id, d.line_type, t.trx_source_line_id as material_detail_id, t.organization_id, pa.organization_code, t.inventory_item_id, i.segment1 as item_number, t.subinventory_code, t.locator_id, lt.lot_number as lot_number, t.primary_quantity, t.transaction_quantity as trans_or_rsrv_qty, lt.transaction_quantity as lot_qty, t.transaction_uom as trans_or_rsrv_uom, t.secondary_transaction_quantity as sec_qty, t.secondary_uom_code, to_char(t.transaction_date, 'DD-MON-YYYY HH24:MI:SS') as trans_or_rsrv_date, t.LPN_ID, t.TRANSFER_LPN_ID, t.transaction_mode, to_char(t.lock_flag), to_char(t.process_flag)
FROM mtl_transactions_interface t, gme_material_details d, gme_batch_header h,
mtl_transaction_lots_interface lt, mtl_system_items_b i, mtl_transaction_types ty, mtl_parameters pa --mtl_lot_numbers lot
WHERE t.transaction_source_type_id = 5
AND h.batch_id in (XXXXXX)
AND transaction_source_id = h.batch_id
AND t.organization_id = h.organization_id
AND d.batch_id = h.batch_id
AND d.material_detail_id = trx_source_line_id
AND lt.TRANSACTION_INTERFACE_ID (+) = t.TRANSACTION_INTERFACE_ID -- This join allows us to get the lot number
--AND lot.lot_number(+) = lt.lot_number
--AND t.organization_id = lot.organization_id
AND t.organization_id = i.organization_id
AND t.inventory_item_id = i.inventory_item_id
AND t.transaction_type_id = ty.transaction_type_id
And t.organization_id = pa.organization_id
ORDER BY batch_id, table_name, line_type, material_detail_id;
SELECT *
FROM gme_transaction_pairs
WHERE batch_id in (XXXXXX);
I used SQL Developer and connected in our Production instance where the problem is there
so i run it please see attached file:
please help how to make table format outpur what are the steps that i need to produce correctly.Hi,
From your post, it seems that you need to upload the results of the query to Oracle Support.
You can spool the output to a file and upload it.
Something like...
SQL>spool output.txt
SQL>set lines 200
SQL>set pages 200
--execute the queries
SQL>spool off
I don't know about SQL Developer but tools such as PL/SQL Developer and Toad will allow you to export the query results directly to MS Excel.
Regards,
Sujoy -
How to make table of contents linkable
Could someone tell me how to make the table of contents for my indesing book linkable? I've seen this in PDF documents before and assume it can be done using InDesign, but haven't been able to figure out how to do it.
gscortino1 wrote:
I need to have a Book Table of contents work as well as chapter Table of contents and also Ineractive elements all work when clicked in a PDF. How do I manage this? I can get the Table of Contents to work and no interactive elements or visa versa. I f I export to pdf Ptint I get both TOC to work but no buttons If I export to interactive I get only the Chapter TOC to work and the buttons but not the Book TOC. I know its a bug what is Adobe doing about it and when are we going to get a free fix?
What version of ID are you using? What export settings? As noted above, there is a bug, and what you want may not be posible at the moment. -
How to View Tables from java side from NWDS/NWDI?
HI All,
I want to view the following tables from java side
CRM_ISA_ADDRESS
CRM_ISA_BASKETS
CRM_ISA_BUSPARTNER
CRM_ISA_EXTCONFIG
CRM_ISA_EXTDATHEAD
CRM_ISA_EXTDATITEM
CRM_ISA_ITEMS
CRM_ISA_OBJECTID
CRM_ISA_SHIPTOS
CRM_ISA_TEXTS
How can I view them using NWDS/NWDI?
Which DC has this tables?
Could you please help me with the procedure to view them?
Thanks and Regards,
GauriHi All,
crm/isa/isacoreddic and crm/isa/shopddic in SAP-CRMDIC are having these tables.
Thanks and Regards,
Gauri -
How to make tables visible for Group Operations
Hi:
- SunMC Group Operations has a 'Modules Table' option which
allows users to edit tables within a module
- Why is it that for some modules, the tables are not visible at all, but
for other modules, the tables are visible ?
- Is there any documentation available which outlines how to make a module's
table visible under SunMC Group Operations 'Modules Table' option ?
thanks
J LPlease check the below thread.
http://social.msdn.microsoft.com/Forums/sharepoint/en-US/eff6e995-e13e-4e30-844e-6242a613daff/making-sp-apps-visibleinvisible-to-users
My Blog- http://www.sharepoint-journey.com| Twitter
If a post answers your question, please click "Mark As Answer" on that post and "Vote as Helpful -
How To make un killable java application even by task manager ?
Hi,
Anybody help me how to we make un killable java application(applet).
Thanks in Advance
Mayan Alagar
[email protected]Mayan_Alagar wrote:
Anybody help me how to we make un killable java application(applet). Why do you think you need that?
Tell us what problem you are trying to solve
instead of asking how to implement how you think it should be solved. -
How to make table cell have certain width
Hi
i have 3 cells when i write text in any cell it effects the
width of other cells !!!
how to make every cell have certain? i mean i want to wrap
the text not to effect the cell width
thanks in advance.Hi Mac,
Try this
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0
Transitional//EN">
<HTML><HEAD><TITLE>Home</TITLE>
<META http-equiv=Content-Type content="text/html;
charset=iso-8859-1">
<style>
.text-content-green {
FONT-SIZE: 11px;
COLOR: #a5a834;
LINE-HEIGHT: 20px;
FONT-STYLE: normal;
FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif;
TEXT-DECORATION: none;
.text-content-green:hover {
FONT-SIZE: 11px;
COLOR: #AE0B0B;
LINE-HEIGHT: 20px;
FONT-STYLE: normal;
FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif;
TEXT-DECORATION:underline;
.margin {
margin: 1px 1px 1px 1px;
border-style: solid;
border-top-width: 1px;
border-left-width: 1px;
border-right-width: 1px;
border-bottom-width: 1px;
border-color: gainsboro;
</style
</HEAD>
<BODY topmargin="10px" leftmargin="0" rightmargin="0"
class="body-style">
<TABLE width="729" border="0" cellpadding="0"
cellspacing="0" cellsadding="0" align="center" class="margin">
<TBODY>
<TR>
<TD width="125" valign="top" bgcolor="#f0f0c1">
<table width="125" border="0" cellspacing="0"
cellpadding="0">
<tr>
<td width="25" height="25" align="middle"></td>
<td width="108" class="text-content-green"><A
class="text-content-green" href="default.html">LEFT
NAV</A></td>
</tr>
<tr>
<td colspan="2" align="middle"></td>
</tr>
<tr>
<td width="25" height="25" align="middle"></td>
<td width="108" class="text-content-green"></td>
</tr>
<tr>
<td colspan="2"></td>
</tr>
</table>
</TD>
<TD vAlign=top width=539 bgColor="white" height=471>
<P class="text-content-green" align=left
style="padding-left:5px">Lorem ipsum dolor sit amet, consectetur
adipisicing elit.Duis aute irure dolor in reprehenderit in
voluptate velit esse cillum .
</P>
</TD>
</TR>
</TBODY>
</TABLE>
</TD>
</TR>
</TBODY>
</TABLE>
</BODY>
</HTML>
HTH
Shanthi -
How to make a GUI java portlet?
how can i make a Gui java portlets with JDeveloper?
Check out the Portal Development Kit (PDK) available at http://portalstudio.oracle.com/
Hope this helps,
Rob -
i need help on this topic
how to create table in javalucky786 wrote:
help urgentlyI am too late?
Maybe you are looking for
-
Weblogic 8.1SP2 throws noclassdeffounderror for ActionServlet
Hi All, My application(struts based) works fine in weblogic7 and the same is deployed sucesfully in weblogic8.1 SP2 but on starting the weblogic server the following error is thrown ******************error starts here*************
-
WLAN anchoring not working for BYOD and ISE?
Anyone set up 802.1x authenication (Radius/ISE) in lieu with wlan anchoring and got it working? Looking in the docs doesn't give much clues why this fails, but web-auth and achoring works excellent on another wlan. We need to move all BYOD devices to
-
Quick question, where to put global variables
Very quick question: where is the best place to put global variables, (e.g. a flag that turns on debug mode) if they are needed by the entire application? I'm guessing they should be placed in their own class. But should I make them public static fin
-
Overwrite specific value on .txt file
Hello Does any one know how to overwrite specific values in a .txt file? here's and example of what i need: I just want to replace the numbers 1 and 2 every time I run my code, the rest remain the same. this is the part of the code Im using thanks!
-
I have created a form using pro xi with several encrypted signature blocks. The signature blocks do not show up when I open the document on my iPad. What am I doing wrong and how do I get around this.