How to change objects in object library?
I saved an object in the object library and used it as parent object to create some subclass objects in several form modules. Now I want to modify the object in the object library so all the subclass objects can inherit the changes made in the parent object. How can I change the object saved in the library?
1- Open New Form
2- Drag the object you want to modify to it
3- Modify it in the opened Form
4- Drag it back to the Object Library
Rem: Be sure all Forms that are using this object are closed when you start this procedure.
Hope this help,
Ahmed.
Similar Messages
-
How to change attributes of Objects of all windows in a MDI application
Hi,
I have a MDI application to draw Object. In these MDI windows I can modify attributes of Object like color, size... Now I want to create an option, when the user change or modifies attribute of Objects in a window, so it allow to change attributes of objects in all windows. I don't know how I can do it, please help me. ThanksAllow your objects to alias mutable attribute objects.
import java.awt.*;
import java.awt.event.*;
import java.awt.geom.*;
import java.util.*;
import javax.swing.*;
import java.util.List;
public class Example extends JPanel {
private List bangles = new ArrayList();
protected void paintComponent(Graphics g) {
super.paintComponent(g);
Graphics2D g2 = (Graphics2D) g;
for(Iterator j=bangles.iterator(); j.hasNext(); )
((Bangle)j.next()).paint(g2);
public void addBangle(Bangle bangle) {
bangles.add(bangle);
repaint();
public static void main(String[] args) {
JFrame.setDefaultLookAndFeelDecorated(true);
JDialog.setDefaultLookAndFeelDecorated(true);
Example app = new Example();
JFrame f = new JFrame("Example");
Container cp = f.getContentPane();
cp.add(app, BorderLayout.CENTER);
cp.add(Controller.create(app), BorderLayout.NORTH);
f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
f.setSize(800,600);
f.setLocationRelativeTo(null);
f.setVisible(true);
class Controller {
private Shade shade1 = new Shade(Color.GREEN), shade2 = new Shade(Color.RED), currentShade=shade1;
private Example modelView;
public static JComponent create(Example modelView) {
return new Controller(modelView).createUI();
private Controller(final Example modelView) {
this.modelView = modelView;
modelView.addMouseListener(new MouseAdapter(){
public void mousePressed(MouseEvent evt) {
Rectangle shape = new Rectangle(evt.getX(), evt.getY(), 20, 20);
modelView.addBangle(new Bangle(shape, currentShade));
private JComponent createUI() {
ButtonGroup bg = new ButtonGroup();
final JToolBar tb = new JToolBar();
final JRadioButton rb1 = createRadio("Shade 1", true, shade1, bg, tb);
final JRadioButton rb2 = createRadio("Shade 2", false, shade2, bg, tb);
JButton btn = new JButton("Change color of selected shade");
btn.setContentAreaFilled(false);
btn.addActionListener(new ActionListener(){
public void actionPerformed(ActionEvent evt) {
Color newColor = JColorChooser.showDialog(tb, "Choose new color", currentShade.getColor());
if (newColor != null) {
currentShade.setColor(newColor);
if (currentShade == shade1)
rb1.setForeground(newColor);
else
rb2.setForeground(newColor);
tb.add(btn);
return tb;
private JRadioButton createRadio(String text, boolean selected, final Shade shade, ButtonGroup bg, JToolBar tb) {
JRadioButton rb = new JRadioButton(text, selected);
rb.setContentAreaFilled(false);
rb.setForeground(shade.getColor());
rb.addActionListener(new ActionListener(){
public void actionPerformed(ActionEvent evt) {
currentShade = shade;
tb.add(rb);
return rb;
class Bangle {
private Shape shape;
private Shade shade;
public Bangle(Shape shape, Shade shade) {
this.shape = shape;
this.shade = shade;
public void paint(Graphics2D g2) {
g2.setColor(shade.getColor());
g2.draw(shape);
class Shade {
private Color color;
public Shade(Color color) {
this.color = color;
public Color getColor() {
return color;
public void setColor(Color color) {
this.color = color;
} -
Do you know how to change the Text Object for Billing Document?
Hi,
If you execute Transaction VOTX or VOTXn it will take you to Text Determination. The Billing Doc & Sales Document both has the VBBK as Text Object for me and is it like that for all.
I need to change the Text Object to VBRK for Billing Doc, which is the ideal because I am using the Function Module READ_TEXT to retrieve text. This work perfectly for Sales Document which has VBBK as Text Object, but does not work for Billing Doc where it through as error message saying Text 0020000021 ID 0002 language EN not found.
Thank You
KishanHi kishan,
For updating these text you can use FM 'SAVE_TEXT'.
As for your problem, to get the parameter you need, go to the billing document, go to the text, and display it in plain page mode.
Then you do 'GO TO' -> 'HEADER', and a pop-up window open with the parameters you need Obect type, ID, Name, ...
Regards,
Erwan. -
How to change the ESS objects, iViews and Pages, translation in the portal?
Hello everyone,
I'd like to change the standard SAP translation for iView and Pages in the Portal level. Does anybody knows how to do this?
My landscape is NW2004s and ESS for ECC 6.0
Regards
Lucianoyou can change the standard SAP iViews and Pages using the Portal Content Translation feature of the Portal ( go to Content Administration->Portal Content Translation. Follow the instructions at
http://help.sap.com/saphelp_nw04/helpdata/en/25/08174082fe1961e10000000a155106/frameset.htm
all ESS iviews and pages have their content "ready for translation" and you can use the instructions above to translate that content.
Tiberiu
please award points if response was useful. -
Does anyone know how to change the location of Library/Mobile Documents?
Several months ago I decided to try a Solid state drive and during the process for space reasons I relocated my home folder to another internal drive. Last week I decided to get rid of the solid state and replace it with the original 750 gig drive I had and move my home folder back to this (my system) drive. During the process of moving my home folder the first time I had partitioned that drive in to 3 parts so that I could use part of it as a backup for my system drive.
I now want to erase that drive and reset it back to a single partition. I am unable to erase and/or repartition because I can't unmount the partition that contained my old home folder. I was able to put it in the trash and erase the contents it but everytime I restart my computer a new home folder (by name only as it does not have the house icon) is created on the old partition with the following folders:
User Folder
Library
Mobile Documents.
I thought it was Icloud related so I tried turning off Icloud and trashing this folder but still was unable to unmount the partition or drive and upon rebooting (even with Icloud off) the folder reappeared. I'm at a loss as to what to try to do now. Any help would be greatly appreciated.
Thanks1. boot from Install DVD
2. open Disk Utility
3. Select the hard drive from left hand column (NOT partition but drive, eg something like WDBEVE and not s03 etc).
4. Click on Partition tab in main window
5. Select "Current"
6. Select partition you wish to delete
7. Click on minus sign on bottom left
8. Confirm Delete
9. Drag original partition to include full disk
10. Confirm resize
That's it! Reboot and you're done. -
How to change syncing with Itunes library with another computer?
How can I get reed of the sync with my MacPro, and sync my iPhone with my MacBookPro?
I was syncing everything so far manually.
I would like to keep all my app's in iphone (their data, settings) unchanged.
Both of my computers use the same itunes account, but I want to use MacPro strictly for my audioproductions and basically want to "de-sync" it with iPhone.
please help,
NenadThank you roaminggnome,
plug it in MacBookPro and sync it? I did try that and it does sync, but if I want to sync App's (with MBP) it will warned me that content of iphone will be replaced, and only thing I am concerned are the apps and all the data that has been saved with it.
Move everything from mac pro means ALL the music,photos...? -
How to charge integer to object
hi:
the program just like below, the Fast and Slow is define by meself.
public class Fast {
private Vector vecArr = new Vector();
public void push(Object elem){
vecArr.addElement(elem);
Fast sortFast=new Fast();
Slow sortSlow=new Slow();
public void test(){
for(int i=32;i<=1024;i=i+i){
for(int j=i;j>=1;j++){
sortFast.push(j);
sortSlow.push(j);
my program alway stop at sortFast.push(j);
the compile error is
"cannot resolve symbol
symbol : method push (int)
location: class Fast
sortFast.push(j);
^
does somebody know how to change integer to object?
Thanks a lot!here is how:
int mySimpleInt = 5;
Integer myIntegerObject = new Integer(mySimpleInt); -
Script-change from local object to package
Hi Experts,
I have created a script.My problem is i have saved the script in local object,but i want in package.
How to change from local object to a package? Pls advice me on this issue.
With Regards,
Sharmila.SHi,
Go to SE03.
Go to Object Directory-->Change Object Directory Entries
Put the object type as FORM and press enter.
Then enter the sap script name in the object name.
Run and then change the package.
Regards,
Ankur Parab -
Can someone tell me how to change obj file in the applet
Thanks in advance.
I have try to use the ObjLoad example in the java3d demo to
change the obj file.But I fail to do this.
I had use twe applet,one to change name,and then refresh the other
frame to try to relod th obj file. but
java.lang.NullPointerException
at ObjLoad.init(ObjLoad.java:150)
at sun.applet.AppletPanel.run(AppletPanel.java:348)
at java.lang.Thread.run(Thread.java:536)
can you help me?
thanksSun's Java3d FlyThrough Demo & Java3d Scenegraph Editor
allow you to load mutiple 3d files (sequencially) including VRML
files with the Sun VRML Loaders at run-time
-- and the Java Source Code is free --- ( see below )
First, try a Web Demo of the "Appearance Explorer" :
"Appearance Explorer" Java3d Web Applet, Loads multiple ".obj"
http://web3dbooks.com/java3d/jumpstart/AppearanceExplorer.html
- click on "Data"
- click on "Obj File: Galleon" -- or -- "Obj File: Beethoven"
- rinse, rather, repeat.
|
http://web3dbooks.com/java3d/jumpstart/Java3DExplorer.html
http://web3dbooks.com/java3d/jumpstart/J3DJumpStart.zip
| ^-- free source code
|
http://www.frontiernet.net/~imaging/games_with_java3d.html
| Sun's Java3d Scenegraph Editor showing a Nasa VRML model
| --------------------------------------------------------
|
| uses the Sun VRML Loaders, source code available and is free.
|
| [ at this url: ] http://java3d.netbeans.org/j3deditor_intro.html
|
http://www.frontiernet.net/~imaging/terrain_rendering.html#Scenegraph_Editor
http://www.frontiernet.net/~imaging/terrain_rendering.html
Selman wrote a Java3d book that was well received
and has a Swingtest.java applet and application that
allows you to load objects dynamically,
ie. "change" the viewed object when it is running by
allowing the user to select "sphere" or "cube" from
menu lists ( in this case it's not just displaying
Jav3d primative objects, but it has the core functionality
of deleteing and adding nodes in the scene graph that you
are seeking, and at that point the rest is left as
exercise to the student. The ObjLoad.java in Sun's Demos
directory has the code to load ".obj" files, so you have
all the tools you need.
| Picking of VRML objects with your mouse is demonstrated
| in a new book, Java 3D Programming, by Daniel Selman
| ( shown on the left ).
|
| The source code is avaible for free.
|
| [ here: ] http://www.manning.com/selman/selman_source.zip
|
| This new book uses the old, reliable Sun VRML Loaders for Java3d.
|
| The program reads a 3d scene as a simple VRML text file,
| and displays the Java3d Scene Graph ( which is interactive,
| you can expand and collapse the branches of the scenegraph
| and examine the contents of the nodes ), it renders the
| 3d scene, and when you click on an object it tells you
| what you clicked on.
|
| You can see ( and download ) the Java Source code of
| the operative file: VrmlPickingTest.java
|
| The publisher's site has more informatation on the book.
|
http://www.frontiernet.net/~imaging/games_with_java3d.html
http://www.frontiernet.net/~imaging/sourcecode/VrmlPickingTest.java
The Prentice-Hall books by Aaron Walsh are false & fraudulent
in their claims to present the most current methods, as a part
of the "Couch-Beiter Flame War" and fraud involving Sandy Ressler
at the NIST. Prentice-Hall, Yumetech.com and Aaron Walsh have
misrepresented and disparaged the old & reliable Sun VRML Loaders
in favor of the "new" Yumetech.com Loader, and the web demo above
__ DOES NOT __ load Web3d.org's __ VRML __ files, only the less
capable ".obj" files ... so the "Web3d" series of books from Prentice-Hall
does not show the loading of ___ Web3d.org 's ___ VRML __ files
because Sun's VRML Loaders were the best ones, and the Yumetech.com
folks didn't want anyone using those, and started the "Couch-Beitler Flame War"
to disparage, falsely & fraudulently misrepresent the facts and knowingly
published false and misleading "disinformation" in the
unreliable Prentice-Hall / Pearson Ed books, harming our community.
The Sun VRML Loaders are used by __ Nasa, __
the NSF supported Virtual Chemistry Lab ( "Lab3d" ),
me, and others simply choosing the "what works best",
and by people using Sun's Java3d FlyThrough & Java Scenegraph Editor.
symsan wrote:
|
| Thanks a lot,but can you give some code
| about to change the Obj file or vrml file,
| when the user in the browser to choose
| the file or input to the textField ?
|
I misunderstood the original question ( it was too terse ).
I interpreted the question has how to change the loaded
objects --- between successive runs of the program ---
and not as you intended -- dynamicall while running
the program program without quiting & restarting.
In a "Java3d" forum I'm not going to wander into
how basic ( non-Java3d) 2d commonents such as TextFields
are programmed.
The original Vrml97Player.java file that came with
Sun VRML Loaders also implemented the functionality
of loading mulitiple files ( sequentically during one run )
and I have worked with that and similar things with
the Shout3d.com engine and my own 3d Java engines.
-- Paul, Java Developer & Web Animator
Imaging the Imagined: Modeling with Math & a Keyboard -
How do I move an object from one photo to another and then change the scene, i.e. winter to summer?
OK.
Open the picture with the new scene. This will be your canvas.
Open the picture with object A, select it with one of the selection tools, go to Edit>copy
Go back to the new scene/canvas, Go to Edit>paste
Repeat for object B
Use the move tool to position A & B, each on its own layer. Use the corner handles of the bounding box to resize, if necessary
You should have 3 layers: Background layer, and the 2 layers with A & B
Note: It's best if the resolution of the 3 picture files is the same value. -
How to change Font Size of Object Explorer in "SQL Server Management Studio"
Dear Team,
"SQL Server Management Studio" is a fantastic IDE for the database.
There are so many customization options available but one thing many users missing is that " How to change Font Size of Object Explorer?"
Can you please accumulate this feature in IDE ASAP?
Many Thanks,
BhaveshIts there
Go to Tools -> Options
Then under Environment you've fonts and colors tab where you can specify a higher font size.
Please Mark This As Answer if it solved your issue
Please Vote This As Helpful if it helps to solve your issue
Visakh
My Wiki User Page
My MSDN Page
My Personal Blog
My Facebook Page -
How to change the size of a particular object in the picture?
How to change the size of a particular object in the picture?
You need to select it. Copy that selection to a new layer, and use Free Transform to resize it.
http://www.youtube.com/watch?v=qWpAGmwhllQ
http://www.youtube.com/watch?v=Bi4jJnYLkUA -
How to change the title of an object in the build order window?
In Keynote '09 v5.1.1 (1034)... How to change the title of an object in the build order window from the default "dropped image" to a specific title?
I'm running the following:
Model Name: MacBook Pro
Model Identifier: MacBookPro2,1
Processor Name: Intel Core 2 Duo
Processor Speed: 2.33 GHz
Number Of Processors: 1
Total Number Of Cores: 2
L2 Cache: 4 MB
Memory: 2 GB
Bus Speed: 667 MHz
Boot ROM Version: MBP21.00A5.B08
SMC Version (system): 1.14f5Custom names can't be applied to objects in the build list.
They are labeled as either; text, shape, table, chart or the filename of an image -
How to Capture the Objects in Object Library in Openscript tool?
Hi All,
I am new to OATS and i was trying to explore the Object Library in Opencript tool.
Can anyone please advise me how to capture the Oracle forms Object in Object Library or Object Repository using OpenScript Tool?
It would be grateful,If you can provide me the step to follow for the above.
Thanks
AjithHi Ajith,
Create one Object Library. In OpenScript click File -> New -> Select Object Library under Script Assets.
Then mention name of your library and save it.
Add this library to script assets of your script. Select Script -> Script Properties... -> Script Assets -> Object Library -> Add(button) -> select your Object Library.
Then save your script and start recording. After recording you can see xpath of all objects you interacted with during your script recording.
If you want to apply this to your script, select Script -> Apply Object Library.. -> then select your Object Library. If you want to revert it, then select Script --> Revert All Navigation To Recorded
Hope this will help you...
Regards,
Deepu M -
How to change Object Stroke Color and fill Color?
Hi to all
i need to change fillcolor & stroke color of Object
here i wrote code that tried but it is not
myDoc = app.activeDocument;
var dd = myDoc.colors.add({name:"PANTONE Black C", model:ColorModel.spot, colorValue:[0, 13, 49, 98]});
app.findObjectPreferences= NothingEnum.NOTHING;
app.changeObjectPreferences = NothingEnum.NOTHING;
app.findObjectPreferences.fillColor = "Black";
var myI1 = myDoc.findObject();
app.changeObjectPreferences.fillColor = "PANTONE Black C // here error throwing
app.changeObject ();
app.findObjectPreferences= NothingEnum.NOTHING;
app.changeObjectPreferences = NothingEnum.NOTHING;
app.findObjectPreferences.strokeColor = "Black";
var myI2 = myDoc.findObject();
app.changeObjectPreferences.strokeColor = "PANTONE Black C // here error throwing
app.changeObject ();
Error is : Invalid value for set property 'fillcolor' ,Expected Swatch, String or NothingEnum enumerator, but received "PANTONE Black C";
pls help me...
Thanks
ThangarajHi scriptor,
how to create find change query for object search
pls tell me with script.
here i attached one jpg file screen shot to understand my need
Thanks
Thangaraj -
How to change original source system of objects at one time
Hi, experts !
I installed extra devlopment server using system copy of orignal
delveopment system.
We have planed that new objects applied to orginal server after developing
finished on extra devlopement server.
The problem is we can not modify or add old objects for specific
package because orignal source system is different
and I know this is SAP policy.
Of course original source server can be changeed on t-code SE03 or
function module TRINT_TADIR_MODIFY
but it should be applied to every objects. This is big job to BC admin.
Is there any solution to possible it at one time?
Best RegardsYou can transport all relevant packages from the old to the new development box including a change of the original system using a special transport request of type "relocation of complete package". Check with your system administrators.
Please close your similar post here:
How to change original system SID to objects by batch?
Thomas
Maybe you are looking for
-
Need to know how to limit the number of rows returned on Oracle
MS SQL Server has a command called 'set row count'. We are trying to find similar one on Oracle. What we are trying to do is that instead of using rownum in the query statement, we would like to find way to limit the number of rows returned. I unders
-
Hi, i m wroking on lsmw but no idea abt where i sd write code for particular field. can anyone tell me the solution for it ??? Thx and Regds, bobby
-
Cannot Copy & Paste in SharePoint
Several of my users are experiencing the same issue. They all have IE 11, but it happens with Chrome and Firefox as well. We are using SharePoint 2010 internally, and since about 3-4 weeks, it seems these employees (not all) are no longer able to cop
-
Program design flaw in After Effects - Position
I am having a heck of a time getting my credits to scroll up properly. A major problem is the program automatically adds a keyframe point every time one moves things. My credits start and stop at bizarre places, and at more places than there appears
-
Problem communicating to nested clips
I am an occasional flash user trying to segue from ActionScript 2 to AS3. I am still using AS2, but am trying to keep all my scripts in one place to prepare myself for AS3. I am having a struggle figuring out how to communicate to nested movie clips