Element 9 replacement
wil purchase and ownload of elements 12 anhd premiere 12 copy old info from elements nine files into new product.?
If you have an organizer catalog, PSE 12 should find and update that. If not go to file>manage catalogs, find your old catalog>convert.
Stuff you've added to the editor will have to be added again, but most things are much easier to add in PSE 12 than they were in PSE 9.
Similar Messages
-
Deleteing element by element in 2D array
Is there away to delete element by element in 2D array without changing the dimensions to 1D array. I want to select the first 20 element reading across the rows. For example, If I have 2D array with 6 element in each raw. I want to select the first three rows and 2 elements from the four raw.
Regards
HussainMaybe I completely misunderstand what the OP tried to say / do, but you can accomplish it without using clusters. Comments from others are correct, you cannot resize the 2D array by deleting elements within a given row.. However, maybe you want to achieve what is described below.
Do keep in mind that if you attempt this with a numeric array, you may want to use 0 or 'NaN' as your deleted value.
See code below which should be self-explanatory. There are probably better improvements of the example, but the purpose was simply to show how it can be done.
Array 1 shows the original 2D array and it's values.
Array 2 shows how you can "delete" or replace its element with a "deleted" value.
Array 3 shows how you can "delete" multiple elements (replace multiple elements with a "deleted" value).
Attachments:
deleting inside 2D array.png 32 KB
delInside2Darray.png 29 KB -
I have tried intializing an array and replacing elements by specifying a particular row, and column, but in the end I get an array with only one element replaced, and I suspect that it is because as the for loops are running through their iterations each time the array is re-initializing. I have a simple vi that I will post below, it is not the exact situation that I have but is a good place for me to get some understanding. I have the row and column indexes being driven by the inner and outer loop iterations, which gives me the pattern I need. I am using the inner iterations as array elements. How do I set this up so that it works and d
oes keep re-initializing my array.
Attachments:
Untitled.vi 26 KBI have fixed a number of things in your vi.
You were right in thinking that the array was continuously re-initialized. To avoid this, use a shift register (right-click the loop border), which will pass the updated array into the next iteration.
Chilly Charly (aka CC)
E-List Master - Kudos glutton - Press the yellow button on the left...
Attachments:
your_vi.vi.zip 13 KB -
Find/Replace Extended Character Set characters in filenames in one pipeline
Hello all,
I have to work with some very bored people. Instead of putting a dash (hex 2d) into a filename, they opt for something from this
set of extended characters, which makes my regular expressions fail. IS there a way I can efficiently find & replace anything outside the standard character set
in one pipelinewithout finding and replacing a character at a time?
So,I'd like something like:
get-childitem * | where-object $_.name -match '\x99' | rename-item -newname { $_.name -replace '\x99','='}
from hex 80 to hex FF rather than a for-each.
Thanks.Answer would depend on the way you want to replace... Easier if you want replace any char in set with selected char:
$Name = -join (180..190|%{[char]$_})
New-Item -ItemType File -Name $Name
Get-ChildItem * | Rename-Item -NewName {
[regex]::Replace(
$_.Name,
'[\xB4-\xBE]',
} -WhatIf
But if you want it more complicated, you may do that too. E.g. defining hashtable that can be used to replace individual elements:
$Replacer = @{}
foreach ($Char in (180..190 | % { [char]$_ })) {
$Replacer.Add(
[string]$Char,
(echo _, -, =, . | Get-Random)
$Replacer
Get-ChildItem * | Rename-Item -NewName {
[regex]::Replace(
$_.Name,
'[\xB4-\xBE]',
$Replacer[$args[0].Value]
} -WhatIf
Using this syntax make it possible to include some logic in replace. E.g. you could easily use switch to decide what to do with given string:
Get-ChildItem * | Rename-Item -NewName {
[regex]::Replace(
$_.Name,
'[\xB4-\xBE]',
switch ($args[0].Value) {
º { "0" }
µ { "u" }
¹ { "1" }
¸ { "," }
Default { "_" }
} -WhatIf -
Must know more about Elements features per photodeluxe
I am an old timer to Adobe Forums, haven't been to the Adobe forum since Adobe stopped supporting Premiere. I am still using Photodeluxe via OS classic 9 on a G5 Mac. I understand that Photoshop Elements replaced Photodeluxe. I've seen/read some of really fancy things that Photoshop Elements can do, but what I don't know is what about the areas that I use all the time in Photodeluxe (see photo)? Is there anyone who can shed some light on this question for me?
For those who have never used Photodelux, here are a few features; I really use this program a lot, but I know Tiger/G5 is my last stop before I can no longer use this program. Thanks for any light that can been shed on my quandary.
PattPatt,
There is a learning curve, of course, but since you have prior experience with DeLuxe, you are equipped to build on that foundation. There are new tools, new palettes with outstanding features, etc.. I suggest that you purchase a manual, for reference beyond the help file, to go along with the software.
Good luck. If you need help, there are many talented people on this board upon whom you can call for guidance. -
Replace text in XML object using a sequence of tags as input
Hi, I need to write an apparently very simple function that replaces a text between tags in an XML object receving as input the sequence of tags to identify the element, but I miss one point.
I travel through the XML tree using a element variable like
Code:
element = element.child(n)
using at each step the tags provided as input to decide the value of "n". Now, when I reach the tags that contain the text to be replaced, what to do? If I use
Code:
element.replace(0, newValue)
I replace the text just in element not in the original object...
For example having
<publishing_date>
<year>2002</year>
<month>Jan</month>
<success_date>
<year>2004</year>
<month>Feb</month>
</success_date>
I want to call a function like
replace(["success_date", "month"], "Mar")
and have an XML object where the second occurence of Feb is replaced with "Mar"
Any suggestion on this easy task?
Thanks a lot
GiuseHi Michael, thanks but my question was difference.
I need to make a function to operate with input tags, not with known tags. So I am writing a loop that scans the XML object using the tags provided in input until it reaches the desired tag with the text to be replaced.
That's why I wrote
element = element.child(n)
that I was thinking to use at each step of the loop looking for desired tag.
There I have the problem: if I use
element.replace.... I am changing the text between the tags in the element variable, not in the original XMLObject, and since there are no pointers in JavaScript, how to do that?
I hope to have been more clear now..... did I ?
Thanks and best reagrds
Giuseppe -
I loaded Elements 10 onto my new computer but cannot use photo email. I get a message saying "unable to complete" Any suggestions?
Unfortunately, Starter Edition 3.2 has been discontinued for some time now; an alternative option (which is free) could be google Picasa; check that one out to see if it might work for you.
Photoshop Elements replaced Starter Edition, and comes with a sophisticated organizer that essentially does what Starter Edition did; download the tryout and use it for 30 days for free to see if it does what you want it to.
-Mark -
How can I get Adobe Photo 3.2 from my old computer to new computer?
My old HP computer came with the Adobe Photo 3.2 which worked beautifully for me. I could upload all my photos, click on the ones I want to put in various collections and send all the photos in that collection in a slide show, which allowed me to send as many photos as I want and as many collections in an email as I want. My new computer has My Pictures but that sucks. When I upload all my photos, they automatically go into 1 file, not allowing me to pick which ones go into which file. Also I cannot send out in slide show, have to send out in strips, which means I can only send between 4-8 photos in any given email or email will bounce back for exceeding limits. I need to be able to send out 30-40 photos per email. Is there anyway to transfer or get the Adobe 3.2 to my new computer.
Unfortunately, Starter Edition 3.2 has been discontinued for some time now; an alternative option (which is free) could be google Picasa; check that one out to see if it might work for you.
Photoshop Elements replaced Starter Edition, and comes with a sophisticated organizer that essentially does what Starter Edition did; download the tryout and use it for 30 days for free to see if it does what you want it to.
-Mark -
Simple Java 3D programs CPU Usage spikes to up to 90 percent!
Hi, everyone. Im completely new to Java 3D and Im toying around with basic program structure right now. My code is based off of that in the first chapter on 3D in Killer Game Programming in Java. I removed most of the scene elements, replacing them with a simple grid, Maya style. (Yes, Im starting off small, but my ambitions are grand I intend on creating a polygonal modeling and animation toolset. After all, the Maya PLE is dead damn you, Autodesk! and I just plain dislike Blender.) I implement a simple OrbitBehavior as a means for the user to navigate the scene. That part was basically copy and paste from Andrew Davisons code. The mystery, then, is why the programs framerate drops below 1 FPS and its CPU Usage spikes to up to 90 percent, according to the Task Manager, when I tumble the scene. Id appreciate anyone taking the time to look at the code and trying to identify the problem area. (Ive undoubtedly missed something totally newbish. -.-) Thank you!
(Also, I had the worst possible time wrestling with the posting process. Is anyone else having trouble editing their posts before submitting them?)
import java.awt.*;
import javax.swing.*;
public class MAFrame
public static final Dimension SCREEN_SIZE = Toolkit.getDefaultToolkit().getScreenSize();
public MAFrame ()
System.out.println("Initializing...");
try {
UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
catch (Exception e) {
e.printStackTrace();
JFrame frame = new JFrame ("Modeling and Animation");
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
MAViewPanel panel = new MAViewPanel ();
frame.getContentPane().add(panel);
frame.pack();
frame.setLocation(((int)SCREEN_SIZE.getWidth() / 2) - (frame.getWidth() / 2),
((int)SCREEN_SIZE.getHeight() / 2) - (frame.getHeight() / 2));
frame.setVisible(true);
import com.sun.j3d.utils.behaviors.vp.*;
import com.sun.j3d.utils.geometry.*;
import com.sun.j3d.utils.universe.*;
import java.awt.*;
import javax.media.j3d.*;
import javax.swing.*;
import javax.vecmath.*;
public class MAViewPanel extends JPanel
public static final int GRID_SIZE = 12;
public static final int GRID_SPACING = 4;
public BoundingSphere bounds;
public BranchGroup sceneBG;
public SimpleUniverse su;
public MAViewPanel ()
GraphicsConfiguration config = SimpleUniverse.getPreferredConfiguration();
Canvas3D canvas3D = new Canvas3D (config);
canvas3D.setSize(600, 600);
add(canvas3D);
canvas3D.setFocusable(true);
canvas3D.requestFocus();
su = new SimpleUniverse (canvas3D);
createSceneGraph();
initUserPosition();
orbitControls(canvas3D);
su.addBranchGraph(sceneBG);
public void createSceneGraph ()
sceneBG = new BranchGroup ();
bounds = new BoundingSphere (new Point3d(0, 0, 0), 1000);
// ambient light
Color3f white = new Color3f (1.0f, 1.0f, 1.0f);
AmbientLight ambientLight = new AmbientLight (white);
ambientLight.setInfluencingBounds(bounds);
sceneBG.addChild(ambientLight);
// background
Background background = new Background ();
background.setColor(0.17f, 0.65f, 0.92f);
background.setApplicationBounds(bounds);
sceneBG.addChild(background);
// grid
createGrid();
sceneBG.compile();
public void createGrid ()
Shape3D grid = new Shape3D();
LineArray lineArr = new LineArray (GRID_SIZE * 8 + 4, GeometryArray.COORDINATES);
int offset = GRID_SIZE * GRID_SPACING;
// both sides of the grid plus the middle, done for both directions at once (each line defined by two points)
for (int count = 0, index = 0; count < GRID_SIZE * 2 + 1; count++) {
// vertical, left to right
lineArr.setCoordinate(index++, new Point3d (-offset + (count * GRID_SPACING), 0, offset)); // starts near
lineArr.setCoordinate(index++, new Point3d (-offset + (count * GRID_SPACING), 0, -offset)); // ends far
// horizontal, near to far
lineArr.setCoordinate(index++, new Point3d (-offset, 0, offset - (count * GRID_SPACING))); // starts left
lineArr.setCoordinate(index++, new Point3d (offset, 0, offset - (count * GRID_SPACING))); // ends right
grid.setGeometry(lineArr);
sceneBG.addChild(grid);
public void initUserPosition ()
ViewingPlatform vp = su.getViewingPlatform();
TransformGroup tg = vp.getViewPlatformTransform();
Transform3D t3d = new Transform3D ();
tg.getTransform(t3d);
t3d.lookAt(new Point3d (0, 60, 80), new Point3d (0, 0, 0), new Vector3d(0, 1, 0));
t3d.invert();
tg.setTransform(t3d);
su.getViewer().getView().setBackClipDistance(100);
private void orbitControls (Canvas3D c)
OrbitBehavior orbit = new OrbitBehavior (c, OrbitBehavior.REVERSE_ALL);
orbit.setSchedulingBounds(bounds);
ViewingPlatform vp = su.getViewingPlatform();
vp.setViewPlatformBehavior(orbit);
}Huh. A simple call to View.setMinimumFrameCycleTime() fixed the problem. How odd that there effectively is no default maximum framerate. Of course simple programs like these, rendered as many times as possible every second, are going to consume all possible CPU usage...
-
Is there any better way of optimizing memory?
Hi Friends!
I am new to Labview and need some help. In a VI sescibed below I would like to know about optimizing the memory.
Problem: Needs to take the values of 7 physical quantities for three different time intervals. Each physical quantity has individual elements(which are clusters) whose number actually depends on the user input ( can be of any number).
What I have done: I had first constructed an
1. Array(Let it be array1 for discussion) of three elements(For three time intervals) each element is a cluster(Let be Level 1 Cluster)
2.Cluster(Level1) has 7 arrays(Let them be Level 2 arrays) to represent 7 physical quantities
From the concepts of arrays in the C each element of the array occupies same memory space. But does this concept applicable here. As I have elements in a cluster(level1) as arrays(Level 2). Each one of the array(Level2) could be of different size depending on user input.
If there is another way to handle them please help me with ur valuable suggestion.
Siddhu.I don't quite understand why optimizing memory here is required as the
data set does not seem very large. That being said, clusters use
(relatively) a lot of memory, and nested arrays/clusters are generally
considered poor programming. It seems to me that this can be
handled with a 3D array (much more memory efficient): 3 pages for
the time intervals, 7 rows for the physical quantities and an
indeterminite number of columns for the individual elements. How
to handle the array depends on what are valid values for the individual
elements. If the data type is numeric and 0 is not a valid user
input value, then it's easy. Just build the array row by
row. Each row will have the number of columns equal to the
largest number of individual elements entered. Data that has not
been entered by the user will be 0. For example, at time interval
1:
PQ1: 9 2 7 4 1 8
PQ2: 8 7 2
PQ3: 1
PQ4: 4 6 8 2
PQ5: 2 3 4 5 6 7 8
PQ6: 4 2 7 9
PQ7: 2 4
The first page of the array would be:
9 2 7 4 1 8 0
8 7 2 0 0 0 0
1 0 0 0 0 0 0
4 6 8 2 0 0 0
2 3 4 5 6 7 8
4 2 7 9 0 0 0
2 4 0 0 0 0 0
If the data type is not numeric or 0 is a valid value, I would
initialize a 3D array that is 3 X 7 X (something larger than the max #
of individual elements) with some sort of invalid value. Then,
as the user inputs individual elements, replace the appropriate
array element. This also has the advantage of creating the array
ahead of time so LabVIEW will not have to create any memory buffers.
Hope this helps.
Dave.
==============================================
David Kaufman
LabVIEW Certified Developer
============================================== -
Word wrap by delimiter in Report
Hi,
How Can I have word wrap in report based on delimiter in the column value
For eg:
My column value in country like AU:NZ , US:UK:CA
I want the values to wrapped by delimiter ":" , so that ANZ and NZ comes in two line
I tried REPLACE(country, ':' ,chr(10) ) , but the result is coming as single line
Regards,
BenzHTML treats all white space (spaces, tabs, newlines etc) as a single space.
One solution would be to use the <br /> line break element:
replace(country, ':', '<br />')A better one is to give the list of countries some semantics by marking it up as, well, a list:
'<ul><li>' || replace(country, ':', '</li><li>') || '</li></ul>' -
How to create an interactive mouse triggered table?
I'm trying to create a VI for an experiment that will take measurements from 3 GPIB devices and put them in a table, with the front panel roughly looking like the one attached (panel.jpg). I'm trying to have the panel work as follows:
When the user hits the "Measure" button, the VI reads the devices and displays the values on top. I figured out that part. Now, once he/she is satisfied with the readings, he places the cursor in any cell in the table and presses "Write". This causes the 3 values to be written to 3 adjacent cells in that row, beginning with the cell clicked on. I'm not sure how to do that, though it probably needs a mouse event handler. Any ideas on how to do this? Thanks!
Attachments:
panel.jpg 22 KBA table is just a 2D array of strings, so to do random insertions, your string array needs to be the size of the table from the beginning. Initialize a 2D array of empty strings, then replace elements according to the cell position.
Attached is a simple demo (LabVIEW 8.0) that demonstrates how to fill a table cell whenever a cell is double-clicked. (notice that the table is a disabled indicator, so only programmatic changes can take place). You should be able to modify it for your needs to fill 3 adjacent cells. It may also need a few little tweaks in the coordinate handling.
If you like to fill on a button press, you would sense a single click and place the coordinates into a shift register, later to be read in the "write" event where you do the element replacements. modify as needed. There are many other ways to do this.
Note that all cells have the same size, else the problem would become a bit more complex.
LabVIEW Champion . Do more with less code and in less time .
Attachments:
TableClickFill.vi 22 KB -
Tree creation algorithm needed. Experts pls help
hi,
I'm writing a program that read data from database to create a Tree.
The database table:
DATA PREDATA POSTDATA
1 4 5
2 6 7
3 1 2
4 8 9
If the DATA has a PREDATA, it will be inserted into the left node otherwise null and POSTDATA will be inserted into right node. For example if I pass in 3 the Tree should look like the following:
3
1 2
4 5 6 7
8 9 null null null
ThanksThis is a fairly straighforward problem but I see two possible problems.
1) There could be more than one root. Any row with identifier that is never used as pre or post is a root.
2) If a row identifier is used more than once as pre or post then one no longer has a simple binary tree.
Dealing with 1) is easy - just have a set of roots. Dealing with 2) is not so easy.
My solution follows. It deals with 1 but not 2.
import java.util.*;
public class Test20040622
static String[][] testData =
{"1","4","5"},
{"2","6","7"},
{"3","1","2"},
{"4","8","9"},
static class TreeElement
TreeElement(String value, Object pre, Object post)
this.value = value;
this.pre = pre;
this.post = post;
public String toString()
return value;
String value;
Object pre;
Object post;
private Set treeRoots;
public Test20040622()
HashMap map = new HashMap();
// Build a map pointing from id to TreeElement
for (int rowIndex = 0; rowIndex < testData.length; rowIndex++)
String[] row = testData[rowIndex];
map.put(row[0], new TreeElement(row[0], row[1], row[2]));
// The set of keys to the TreeElements
treeRoots = new HashSet(map.keySet());
// Go through each of the elements replacing the
// pre and post String with the corresponding TreeElement
for (Iterator it = map.values().iterator(); it.hasNext();)
TreeElement treeElement = (TreeElement)it.next();
if (treeElement.pre instanceof String)
treeRoots.remove(treeElement.pre);
Object pre = map.get(treeElement.pre);
if (pre != null)
treeElement.pre = pre;
if (treeElement.post instanceof String)
treeRoots.remove(treeElement.post);
Object post = map.get(treeElement.post);
if (post != null)
treeElement.post = post;
// Convert the tree root Strings to TreeElements
HashSet roots = new HashSet();
for (Iterator it = treeRoots.iterator(); it.hasNext();)
roots.add(map.get(it.next()));
treeRoots = roots;
public void print()
for (Iterator it = treeRoots.iterator(); it.hasNext();)
printOne(it.next(), 0);
private void printOne(Object leaf, int level)
if (leaf instanceof TreeElement)
printOne( ((TreeElement)leaf).pre, level+1);
for (int i = 0; i < level; i++)
System.out.print(" ");
System.out.println(leaf);
if (leaf instanceof TreeElement)
printOne(((TreeElement)leaf).post, level+1);
public static void main(String[] args)
new Test20040622().print();
} -
ALV rows to column dynamic internal table
Hello People ,
I am stuck in a report which displays an output in ALV as follows :-
bukrs | kntyp | konto | knfix | period | element | emeng | emein
1000 | 10 | 1100 | berlin | 11.2011 | AG | 0.148 | kgAG
1000 | 10 | 1100 | berlin | 11.2011 | AU | 0.104 | kgAU
1000 | 10 | 1100 | berlin | 11.2011 | GA | 0.207 | kgGA
And this table has many values corresponding to element AG,AU and GA respectively . For example , there would be many element AG's with many "EMENG" values . Similarly for AU and GA .
MY question :- I am asked to make AG , AU , GA as 3 different fields which should show the value "EMENG" under respective elements . Like :-
bukrs | kntyp | konto | knfix | period | AG | AU | GA | emein
1000 | 10 | 1100 | berlin | 11.2011 | 0.148 | 0.104 | 0.207 | kgAG
That should be my output . ( elements replaced by AG , AU and GA which comes from a Metal table ZXXXX where
metal no. 1 = AU
metal no. 2 = AG
metal no. 3 = GA
If there is any metal added to it would be metal no. 4 ,5,6,7 .... so on ) and then that should be added as a field in our report .. So that has to be DYNAMIC .
I am unable to move on with problem . Pls suggest ? I am pasting my report here ...
FORM select_table_gt_bb CHANGING p_gt_bb.
TABLES : zpam_as .
DATA : i_zpam_as TYPE TABLE OF zpam_as ,
wa_zpam_as LIKE LINE OF i_zpam_as ,
i_tcurr TYPE TABLE OF tcurr ,
wa_tcurr LIKE LINE OF i_tcurr,
zt_as TYPE TABLE OF zpam_as.
SELECT * FROM zpam_as INTO TABLE gt_as
WHERE bukrs EQ bukrs
AND kntyp IN kntyp
AND konto IN konto
AND knfix IN knfix
AND buper IN buper
AND element IN element
AND ameng IN ameng
AND ashkz IN ashkz
AND emeng IN emeng
AND eshkz IN eshkz
AND emein IN emein.
SELECT * FROM zpam_tcurr INTO TABLE gt_tcurr.
IF sy-subrc IS INITIAL.
LOOP AT gt_tcurr INTO gw_tcurr.
SELECT * FROM tcurr INTO wa_tcurr WHERE fcurr = gw_tcurr-fcurr AND
tcurr = tcurr.
ENDSELECT.
APPEND wa_tcurr TO i_tcurr.
DELETE ADJACENT DUPLICATES FROM i_tcurr.
ENDLOOP.
ENDIF.
IF i_tcurr IS NOT INITIAL.
LOOP AT gt_as INTO gw_as.
CLEAR sy-subrc.
LOOP AT i_tcurr
INTO wa_tcurr
WHERE fcurr = gw_as-emein.
gw_as-tcurr = wa_tcurr-tcurr.
gw_as-ukurs = wa_tcurr-ukurs.
gw_as-total = abs( gw_as-emeng ) * wa_tcurr-ukurs.
APPEND gw_as TO zt_as.
ENDLOOP.
IF sy-subrc <> 0.
gw_as-tcurr = 'None'.
gw_as-ukurs = ''.
gw_as-total = ''.
APPEND gw_as TO zt_as.
ENDIF.
ENDLOOP.
REFRESH gt_as.
LOOP AT zt_as INTO gw_as.
APPEND gw_as TO gt_as.
ENDLOOP.
ENDIF.
ENDFORM.
Priority normalized
Edited by: Rob Burbank on Dec 28, 2011 3:44 PMHey,
But after understanding my question correctly , you sure that dynamic internal table is the solution for it ? -
Mapping namespace to generated package name (clientgen)
Hello,
We have a need to map the namespace of the generated bean artifacts from clientgen to a different package name. This could be done prior to weblogic 10 with the typePackageName attribute of clientgen but this is no longer supported in weblogic 10. Is there another way to do this? Note we cannot change the namespace of the webservice wsdl we are generating the client for.
Thank you!
Julia AllenUse the <binding> child element to specify one of the following:
* For JAX-WS, one or more customization files that specify one or more of the following:
o JAX-WS and JAXB custom binding declarations. For more information, see “Customizing XML Schema-to-Java Mapping Using Binding Declarations” in Getting Started With WebLogic Web Services Using JAX-WS.
o SOAP handler files. For more information, see “Creating and Using SOAP Message Handlers” in Programming Advance Features of WebLogic Web Services Using JAX-WS.
* For JAX-RPC, one or more XMLBeans configuration files, which by convention end in .xsdconfig. Use this element if your Web Service uses Apache XMLBeans data types as parameters or return values.
The <binding> element is similar to the standard Ant <Fileset> element and has all the same attributes. See the Apache Ant documentation on the Fileset element for the full list of attributes you can specify.
Note: The <binding> element replaces the <xsdConfig> element, which is deprecated as of version 10.0 of WebLogic Server.
See here for detail. -
hi, im trying to figure out how to sort the vector objects below in alphabetical order. But i can't figure out how to fix this code
any help is greatly appreciated. THANKS!!!
import java.lang.String.*;
import java.util.Vector;
public class Test2
public void hi()
Vector v = new Vector();
v.add("Donkey");
v.add("Dog");
v.add("Parakeet");
v.add("Cat");
v.add("Mule");
v.add("Horse");
v.add("Zebra");
v.add("Lion");
v.add("Frog");
v.add("Catepillar");
v.add("Butterfly");
v.add("Ostrich");
for(int i = 0; i < v.size(); i++)
int o = i;
int j = i - 1;
while(j>=0 && j > o)
v.get(j + 1) = v.get(i);
j--;
j + 1 = o;
//substring(s.indexOf(",") + 2, s.indexOf("[") - 1)
}hi, im trying to figure out how to sort the vector
objects below in alphabetical order. But i can't
figure out how to fix this code
any help is greatly appreciated. THANKS!!!
import java.lang.String.*;
import java.util.Vector;
public class Test2
public void hi()
Vector v = new Vector();
v.add("Donkey");
v.add("Dog");
v.add("Parakeet");
v.add("Cat");
v.add("Mule");
v.add("Horse");
v.add("Zebra");
v.add("Lion");
v.add("Frog");
v.add("Catepillar");
v.add("Butterfly");
v.add("Ostrich");
for(int i = 0; i < v.size(); i++)
int o = i;
int j = i - 1;
while(j>=0 && j > o)
v.get(j + 1) = v.get(i);
j--;
j + 1 = o;
//substring(s.indexOf(",") + 2, s.indexOf("[") -
) - 1)
}Hi!
You can't do:
v.get(j + 1) = v.get(i);
I think what you want to do is:
v.set(j+1,v.get(i));
Read this:
"set
public Object set(int�index,Object�element)
Replaces the element at the specified position in this Vector with the specified element."
If you have other questions, just say!
Hope it helps!!!
Regards,
ACN
Maybe you are looking for
-
After export movies works and then is not working anymore?!
Hi guys, i am capturing HD movies to my final cut express HD..Edit them, expert as quick time movie (option self contain is OFF). Then i test the movies and they are like they should be. Then i import them into IDVD and IDVD accept some and some not.
-
Hiee gurus,, I have created a billing output type in nace i.e. ZDSS, I have also assigned that output type for a billing document in VF02 but the output type is not getting triggered. Please help me regarding this issue.. what could be the reason beh
-
How do I stop iTunes from autofilling every time I sync my iPod touch?
Everytime i sync my ipod touch 4th gen (32gb ios5) with my mac (10.7) itunes (10.5.1) removes and replaces about 1000 to 2000 songs! this is fine except it takes hours and all i want to do is put a new cd om my ipod, not change a couple of thousand s
-
I have a problem some file has not open Error message Thisis not a valid PDF file
-
Sizing guest anchor controller
40 locations, around 20-30 APs per location, 1 gig back from each site to the main site, minimizing cost. Trying to size the guest anchor controller. Redundancy is not required. As I understand correctly 4402/4404/5508 controller supports up to aroun