Posts
 
Reputation
Joined
Last Seen
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
1 Commented Post
~8K People Reached
Favorite Forums
Favorite Tags

34 Posted Topics

Member Avatar for srikanth2321

Hi, I'm using multiset intersection function inorder to find the similar characters located in two sets. This is working good. I wanted to know if I can introduce a wild card in this intersection function such that if it finds the wild card it will ignore or consider as a …

0
81
Member Avatar for srikanth2321

Hi,, I have a json file and I would like to convert it into java class. The main aim is to create a dynamic interface from the JSON file. I found metawidget library which can generate interface from a java class. I would like to know or possibly a sample …

Member Avatar for Richard_21
0
264
Member Avatar for srikanth2321

Hello, I'm writing a plugin for a software in eclipse. I'm using vtd-xml.jar for importing an xml file. I have added to the build path by rigt clicking on the paroject and selecting the opetion add to build path. While I do the operations from eclipse it is working fine …

Member Avatar for srikanth2321
0
248
Member Avatar for srikanth2321

Hi, below is the code which I'm using to update a jar, unfortunately it is not updating the jar file which is in use by some program. I mean the jar itself has this code to update it's own file. The code is working if I want to update another …

Member Avatar for JamesCherrill
0
173
Member Avatar for srikanth2321

Hi, I'm trying to wrap lines in Jtree nodes, I found this code which is working good for me but a with a minute defect. On selecting Jtree node, only second half of the text is highlighted in blue leaving first few characters, I tried a lot to fix this …

Member Avatar for srikanth2321
0
905
Member Avatar for srikanth2321

Hi, I see a change in the font with string created by graphic2D from other labels. Is it possible to obtain a uniform font? package com.HIPS.biosynML; import java.awt.BasicStroke; import java.awt.Color; import java.awt.Component; import java.awt.Dimension; import java.awt.Font; import java.awt.Graphics; import java.awt.Graphics2D; import java.awt.Insets; import java.awt.RenderingHints; import java.awt.Shape; import java.awt.font.FontRenderContext; import java.awt.font.LineBreakMeasurer; …

Member Avatar for srikanth2321
0
194
Member Avatar for srikanth2321

Hi, I have a problem of modifying Jtree font. No matter what I do or make changes in code I'm unable to change the default font. I got the TreeCellRenderer code from some website. Any suggesion on font change would be really helpful class MyCellRenderer extends JEditorPane implements TreeCellRenderer { …

Member Avatar for mKorbel
0
871
Member Avatar for srikanth2321

Hi, I have a "Save" button with the following code Save.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent evt) { k = k+1; System.out.println(k); } }); somehow, it is executing multiple times with single click on the button (k values is 4 at times). I googled it but couldn't find some helpful …

Member Avatar for mKorbel
0
150
Member Avatar for srikanth2321

Hi, I have a split container in my frame where the right container has a Jtable and left is filled with different collapse panels displaying detailed data from different parts of the table. If the user clicks on a column then a collapse panel expands and display the information If …

Member Avatar for srikanth2321
0
172
Member Avatar for srikanth2321

Hello, Is it possible to have sub menu to an item in combobox as shown in the picture? thanks

Member Avatar for deceptikon
0
233
Member Avatar for srikanth2321

Hello, I have a panel and I'm creating small textboxes which carries a text. Later when I create all the textboxes I'm able to move them dynamically in the panel and rearranged them in a order (in a straight line next to each other).How can I read the values of …

Member Avatar for nmaillet
0
177
Member Avatar for srikanth2321

Hello, I'm using images to show a sequence. For this I'm using image list and the code is Graphics g = this.panel2.CreateGraphics(); ImageList photoList = new ImageList(); photoList.TransparentColor = Color.Blue; photoList.ColorDepth = ColorDepth.Depth32Bit; photoList.ImageSize = new Size(40, 40); Graphics g1 = this.panel2.CreateGraphics(); Pen green = new Pen(Color.Green, 1); int j …

Member Avatar for joseph.a.mineo
0
146
Member Avatar for srikanth2321

Hi all, I'm currently using SAX to parse an xml file. Recenlty I have encountered a problem where, one of the element consist of more than 50,000 characters (a DNA sequence ) and the SAX results nothing as an output. The code which I'm using is [CODE] public void getCommand() …

Member Avatar for srikanth2321
0
379
Member Avatar for srikanth2321

Hi all, I'm working on a problem where I have to store,retrieve, update the data from some temporary variables (for e.g. array) The scenario is as follows. Assume I have a datagridview with n number of rows and 3 columns for e.g. [CODE] Id name class 1 ff 2 2 …

Member Avatar for arunkumars
0
221
Member Avatar for srikanth2321

Hi, I have a problem in filtering the data table for the second time. What I have done is till now is to filter the data table sucessfully for the first time but was unable to filter the resultant data table again since the information after the first filter is …

Member Avatar for VIeditorlover
0
76
Member Avatar for Jazerix

Do you mean to get a specific value from a particular column or something else?

Member Avatar for mikev2
0
111
Member Avatar for srikanth2321

Hi, I found many examples in the Google to change the color of the tab but I was not able to find a proper solution to change the color of the dead space which is right next to the tab buttons in the tabcontrol. The code which I used is …

0
70
Member Avatar for srikanth2321

Hi I'm facing a problem. I want to join two table which are in the following format. Table 1 id - - name 1 - - xx 2 - - yy 3 - - zxz Table 2 id -- xx -- yy 1 -- 1 -- 1 2 -- 2 …

Member Avatar for srikanth2321
0
119
Member Avatar for srikanth2321

Hello all, I have a problem in building the query for search. I have a table which contains a column X stores numerous values in each respective cell of a row. For e.g. [CODE] rows Column X 1 120;132;143;154;165 2 122;134;543;566; [/CODE] What I want to do is to make …

Member Avatar for aquanetta
0
123
Member Avatar for srikanth2321

Hello, I want to upload a file into the database. While uploading I'm extracting the file name and extension. The problem now is if I have a file name which is separated by '_', it is giving me and exception "illegal characters in path " [CODE] string text = File.ReadAllText("C:\\Users\\xxxx\\Desktop\\9_file.bak", …

Member Avatar for Ketsuekiame
0
702
Member Avatar for srikanth2321

HI, I have a software which gives me a text file which consist of German characters and are stores in the notepad with space. When I open it with note-tab software initially the german character is stored as space but they have a option " convert to ASCII text" then …

Member Avatar for srikanth2321
0
204
Member Avatar for srikanth2321

Hi, I was just wondering what might be the path to load jar file from c sharp project folder. Currently the path I'm using is String strJarFilePath1 = "C:\\Users\\xxxx\\Downloads\\ss\\ss.jar"; which works perfectly If I place this ss.jar in project folder by the name WindowsFormsApplication1 what might be the path? I …

Member Avatar for srikanth2321
0
211
Member Avatar for srikanth2321

Hi, I'm trying to insert a number between a string. For e.g. : If I have a string like "C23H24N1O" or "CHAl" Then it should be "C23H24N1O[B]1[/B]" or "C1H1Al1" If a capital letter doesn't carry any numerical then it should insert "1" next to it If a capital letter carry …

Member Avatar for Momerath
0
221
Member Avatar for srikanth2321

Hi I have problem in reading xml file. The things what I want to read is : "cmpd_name","cmpdnr","rt","mz","i","a","sn","z". Here there may be several values for each "mz","i","a","sn" in different lines under a "cmpd_name" (It will be clear if you see the attched xml file). Each of these ("mz","i","a","sn") values under …

Member Avatar for srikanth2321
0
140
Member Avatar for srikanth2321

Hi, I written this code to calculate the clusters with the points taken from a datagridview. It works fine for small number of data points. But taking lot of time(nearly 15 mins) to run for 1000 rows and 5 columns in a datagridview. Is there a way to make it …

Member Avatar for srikanth2321
0
127
Member Avatar for srikanth2321

Hi all, I'm trying to implement K-means on a database.I have a table like this: The main task is to group id's and return them based on similarity in intensities depending on the number of clusters that the user want to see them. [CODE]id I1 I2 I3 I4 I5 1 …

Member Avatar for srikanth2321
0
134
Member Avatar for srikanth2321

Hi, I have a software which contains a jar file. To use it I need to type "java -cp IPC.jar ipc.IPC -c CCl4 -t > CCl4.txt" in the command line. I want to invoke this in C#. I used this following code but it is doing nothing, no errors. [CODE] …

Member Avatar for PierlucSS
0
1K
Member Avatar for srikanth2321

Hi, I have a file in the project which is called as it is. [CODE] var stream = Assembly.GetExecutingAssembly().GetManifestResourceStream("WindowsFormsApplication2.ds.cdx"); var bytes = new byte[stream.Length]; var read = stream.Read(bytes, 0, (int) stream.Length); var molecule = MolImporter.importMol(bytes);[/CODE] How can I give the path of the file. I have given the path like …

Member Avatar for srikanth2321
0
59
Member Avatar for srikanth2321

Hi, I think this a basic question but I'm not sure how to do it. I have a textbox1 which contains data in the following format : [code] Mass Fraction Intensity 79.05423 0.9366496 100.00 80.05423 0.0616264 6.58 81.05423 0.0016983 0.18 82.05423 0.0000252 0.00 [/code] Now I want the "Mass" column …

Member Avatar for finito
0
109
Member Avatar for srikanth2321

In MySql database has a table in which one of the columns uses UTF - 8 fromat for special characters. When they are to display in the datagridview they are showing "?" When dataGridView have to display name of some compounds like "2,4-Di-epi-Soraphen A1α", "Soraphen A1β" , instead they are …

Member Avatar for finito
0
91
Member Avatar for srikanth2321

Hi, I have a code which generated dynamic gridviews based on a column ('c_AnalyticalSystemID"). Now I have a samll problem in passing cell parameter into a textbox which I clicked on a datagridview. the code is : [CODE] private void button1_Click(object sender, EventArgs e) { string query = "select t.c_AnalyticalSystemID,t.c_RetentionTime,t.c_IonType …

0
66
Member Avatar for srikanth2321

Hi all, I now have a very serious problem. I have a table that have to show in different datagridviews which are generated dynamically. The table looks like this C_id formula systemid mass user time 1 c6h6 1 23 s 00:99 2 c3h4 2 22 g 09:08 3 c7h8 1 …

Member Avatar for srikanth2321
0
112
Member Avatar for srikanth2321

Hello all, I'm having a datagrid view with some columns in it. Now my problem is to enable on the 1st columns cells to click and the rest along with the header must not be able to click or disable it. Can some one help me with the code please.....

Member Avatar for srikanth2321
0
63
Member Avatar for srikanth2321

Hi, I have got a serious problem. I have connect a table with the windows form. The table looks like Id name age place country 1 sss 11 ttt qqq 2 ww 12 eee qqq Now I'm able to display all of them in a richtextbox in the following format …

0
58

The End.